in reply to Re^3: Display all IPs in given range
in thread Display all IPs in given range

Thanks! I tried your code but it gives me Can't call method "broadcast" on an undefined value error. However, I will try tinkering some more with it.

Replies are listed 'Best First'.
Re^5: Display all IPs in given range
by NetWallah (Canon) on Oct 17, 2016 at 19:46 UTC
    The problem is on the provious line, which is better written as :
    my $ip = NetAddr::IP::->new ('10.0.0.0/30'); ($ip and ref($ip)) or die "ERROR: Could not create IP object.";

            ...it is unhealthy to remain near things that are in the process of blowing up.     man page for WARP, by Larry Wall

      That did the trick!