in reply to Enumerating IP Addresses in a Subnet
in thread algorithm for network address enumeration

What does this do?
print(format_ipv4, $/) for ($first+1 .. $broadcast-1);
I would expect $_ there.

Edit: never mind. i get it:
print format_ip4($_); print $/;

Replies are listed 'Best First'.
Re^4: algorithm for network address enumeration
by ikegami (Patriarch) on Feb 11, 2005 at 15:55 UTC
    I wrote format_ipv4 to use $_ if no arguments are supplied (like length, split and a number of other builtins do), so
    print(format_ipv4, $/)
    is the same as
    print(format_ipv4($_), $/)