Changeset 1007 for trunk/DNSDB.pm
- Timestamp:
- 01/29/26 10:36:13 (3 days ago)
- File:
-
- 1 edited
-
trunk/DNSDB.pm (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DNSDB.pm
r1002 r1007 4820 4820 # a s/// inside the block map only returns the match/replace count instead of whatever 4821 4821 # the changed $_ is for some reason 4822 my @hbits = split '.',$host;4822 my @hbits = split /\./, $$host; 4823 4823 foreach (@hbits) { 4824 4824 s/^-+//; 4825 4825 s/-+$//; 4826 4826 } 4827 $ host = join '.', @hbits;4827 $$host = join '.', @hbits; 4828 4828 4829 4829 # Set up database fields and bind parameters … … 4998 4998 # a s/// inside the block map only returns the match/replace count instead of whatever 4999 4999 # the changed $_ is for some reason 5000 my @hbits = split '.',$host;5000 my @hbits = split /\./, $$host; 5001 5001 foreach (@hbits) { 5002 5002 s/^-+//; 5003 5003 s/-+$//; 5004 5004 } 5005 $ host = join '.', @hbits;5005 $$host = join '.', @hbits; 5006 5006 5007 5007 # Set up database fields and bind parameters. Note only the optional fields
Note:
See TracChangeset
for help on using the changeset viewer.
![[ DNS Administrator ]](/fx/dnsadmin-logo.png)