Re: Net::Ping Bug found?

2007-05-16 Thread Tom Phoenix
On 5/16/07, Angerstein <[EMAIL PROTECTED]> wrote: Start iptrace with Machine #1: Doesn't have iptrace. OpenBSD 4.0 system. Machine #2: Doesn't have iptrace. MacOS X 10.4.9. I hope that other testers have better results for you! --Tom Phoenix Stonehenge Perl Training -- To unsubscribe, e-ma

Re: Net::Ping Bug found?

2007-05-16 Thread Tom Phoenix
On 5/16/07, Angerstein <[EMAIL PROTECTED]> wrote: So Please: Could somebody verify this on her/his own System? I'm sure that many people will be glad to help you. Could you please supply a small program that testers could run and send you the output? Good luck with your project! --Tom Phoeni

Re: Net::Ping Cannot redirect output !

2003-03-29 Thread R. Joseph Newton
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

Re: Net::Ping Cannot redirect output !

2003-03-29 Thread Rob Dixon
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]

Re: Net::Ping Cannot redirect output !

2003-03-29 Thread R. Joseph Newton
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

Re: Net::Ping Cannot redirect output !

2003-03-28 Thread Ramprasad
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

Re: Net::Ping Cannot redirect output !

2003-03-28 Thread Rob Dixon
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

RE: Net::Ping

2001-10-23 Thread Peter Scott
Ping -le '$p = Net::Ping->new("icmp"); print "Ok" if $p->ping("cnn.com")' icmp ping requires root privilege at -e line 1 That's 5.6.1. >-=GLA=- > >-Original Message- >From: Peter Scott [mailto:[EMAIL PROTECTED]] >Sent: Tuesd

RE: Net::Ping

2001-10-23 Thread Gary L. Armstrong
defaults to TCP? That might explain this. -=GLA=- -Original Message- From: Peter Scott [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:52 AM To: Daniel Falkenberg; [EMAIL PROTECTED] Subject: Re: Net::Ping At 11:28 AM 10/23/01 +0930, Daniel Falkenberg wrote: >Firstly. I h

Re: Net::Ping

2001-10-22 Thread Peter Scott
At 11:28 AM 10/23/01 +0930, Daniel Falkenberg wrote: >Firstly. I have a host using a 56k modem connection. When I ping these >servers using the ping object > >$p = Net::Ping->new("icmp"); > >If the server that is being pinged doesn't respond it generates an error >message. Then when