R. Joseph Newton wrote:
$p-bind(192.168.2.211); # Specify source interface of pings [with no my or our]
But it's a method call on an existing object ;-)
/R
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Rob Dixon wrote:
R. Joseph Newton wrote:
$p-bind(192.168.2.211); # Specify source interface of pings [with no my or
our]
But it's a method call on an existing object ;-)
Oops, my bad. cited the wrong line--should have been:
$p = Net::Ping-new(icmp);
and this may even have been
I have written a simple script that runs file when I run on command line
but fails when I redirect its output
I cant beleive this , it seems so impossible can anyone help me
$!=1;
use Net::Ping;
@host_array = DATA;
$p = Net::Ping-new(icmp);
$p-bind(192.168.2.211); # Specify source interface of
Ramprasad wrote:
I have written a simple script that runs file when I run on command line
but fails when I redirect its output
I cant beleive this , it seems so impossible can anyone help me
$!=1;
Should be $| = 1 for autoflush. Or, more neatly:
use IO::Handle;
autoflush STDOUT;
Rob Dixon wrote:
Ramprasad wrote:
I have written a simple script that runs file when I run on command line
but fails when I redirect its output
I cant beleive this , it seems so impossible can anyone help me
$!=1;
Should be $| = 1 for autoflush. Or, more neatly:
use IO::Handle;