Changeset 1007 for trunk/DNSDB.pm


Ignore:
Timestamp:
01/29/26 10:36:13 (3 days ago)
Author:
Kris Deugau
Message:

/trunk

Fix the fix in r1002; forgot $host is a reference at that point, and gave
split the right separator syntax. Picky picky.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DNSDB.pm

    r1002 r1007  
    48204820# a s/// inside the block map only returns the match/replace count instead of whatever
    48214821# the changed $_ is for some reason
    4822   my @hbits = split '.', $host;
     4822  my @hbits = split /\./, $$host;
    48234823  foreach (@hbits) {
    48244824    s/^-+//;
    48254825    s/-+$//;
    48264826  }
    4827   $host = join '.', @hbits;
     4827  $$host = join '.', @hbits;
    48284828
    48294829  # Set up database fields and bind parameters
     
    49984998# a s/// inside the block map only returns the match/replace count instead of whatever
    49994999# the changed $_ is for some reason
    5000   my @hbits = split '.', $host;
     5000  my @hbits = split /\./, $$host;
    50015001  foreach (@hbits) {
    50025002    s/^-+//;
    50035003    s/-+$//;
    50045004  }
    5005   $host = join '.', @hbits;
     5005  $$host = join '.', @hbits;
    50065006
    50075007  # Set up database fields and bind parameters.  Note only the optional fields
Note: See TracChangeset for help on using the changeset viewer.