Oops! That duplicates a value twice if the next line doesn't have a good match. Perhaps you meant:map { /(\d[.\d]+\d)/; inet_aton($1) . $_ }
map { /(\d[.\d]+\d)/ ? inet_aton($1) . $_ : () }
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to Re^2: Understanding transformation sorts (ST, GRT), the details
by merlyn
in thread Understanding transformation sorts (ST, GRT), the details
by 5mi11er
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |