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 eve
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]
Ramprasad wrote:
> I cant beleive this , it seems so impossible can anyone help me
I can. You ae not using strict.
> ...
> @host_array = ; # no my
> $p = Net::Ping->new("icmp"); # no my
> $p->bind("192.168.2.211"); # Specify source interface of pings [with no my
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;
autoflu
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 STDOU