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
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/)
{
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/)
{
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{
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
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/)
>
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
-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