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

Yeah, I consider broadcast as valid. Looks interesting but I'm having some problems with installing the module (dependencies) so I haven't tested it yet.

PS: call is anonymous but forgot to log in appearantly..

Replies are listed 'Best First'.
Re^3: Display all IPs in given range
by Discipulus (Canon) on Oct 17, 2016 at 10:36 UTC
    forgot to log in appearantly.. if so welcome to the monastery Noosrep!

    L*

    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      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.

        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