[boulder.pm] use strict, and net::ping

Rob Nagler nagler at bivio.com
Fri Jul 14 13:45:10 CDT 2000


> Basically, the ($p) puts it into a list context rather than
> a plain old scalar context.

What I don't understand is why

my($p) =Net::Ping->new("icmp",5,64);

doesn't work?  I looked at the code for Net::Ping and it
doesn't seem to call wantarray, so why would it care?

We use the my($p) syntax all over and always "use strict"
and nairy a beep?



More information about the Boulder-pm mailing list