Re: Something strange ..

2008-08-31 Thread Dr.Ruud
Gunwant Singh schreef: > Rob Dixon: >> Your code is poorly laid out - it is extremely difficult to spot an >> errors with no whitespace and indenting. >> > That was rude! Not at all, it was an observation put to words. Do you really think that your posting was not a mess? Consider perltidy. Lear

Re: Something strange ..

2008-08-31 Thread Gunwant Singh
John W. Krahn wrote: Gunwant Singh wrote: I have written a code to ping remote sites: --- use strict; use warnings; use Socket; use Net::Ping; print 'Enter a hostname/IP '; my $ip,my $host; $ip=; chomp($ip); if ($ip =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/) {

Re: Something strange ..

2008-08-31 Thread Gunwant Singh
Rob Dixon wrote: Gunwant Singh wrote: I have written a code to ping remote sites: --- use strict; use warnings; use Socket; use Net::Ping; print 'Enter a hostname/IP '; my $ip,my $host; $ip=; chomp($ip); if ($ip =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/) {

Re: Something strange ..

2008-08-30 Thread Rob Dixon
John W. Krahn wrote: > Gunwant Singh wrote: >> >> I have written a code to ping remote sites: >> --- >> use strict; >> use warnings; >> use Socket; >> use Net::Ping; >> >> print 'Enter a hostname/IP '; >> my $ip,my $host; >> $ip=; >> chomp($ip); >> if ($ip =~ /\b\d{

Re: Something strange ..

2008-08-30 Thread John W. Krahn
Gunwant Singh wrote: I have written a code to ping remote sites: --- use strict; use warnings; use Socket; use Net::Ping; print 'Enter a hostname/IP '; my $ip,my $host; $ip=; chomp($ip); if ($ip =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/) { my $p = Net::Ping->ne

Re: Something strange ..

2008-08-30 Thread Rob Dixon
Gunwant Singh wrote: > I have written a code to ping remote sites: > --- > use strict; > use warnings; > use Socket; > use Net::Ping; > > print 'Enter a hostname/IP '; > my $ip,my $host; > $ip=; > chomp($ip); > if ($ip =~ /\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b/) >

Re: something strange

2002-05-24 Thread Felix Geerinckx
on Fri, 24 May 2002 18:38:18 GMT, Lance Prais wrote: > If I run the script from the CMD prompt, there are no errors and it > works fine. The issue is if I try to run, it from the windows > scheduler it fails. The reason I am thinking it may be related to my > script is that I have other scripts t

RE: something strange

2002-05-24 Thread Lance Prais
-Original Message- From: Lance Prais [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 1:38 PM To: Perl Subject: something strange I am not sure if this is the right place to ask this but I was hoping someone hashad a similer problem. Here is my issue, I am running perl on NT and h