Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: My ping should fail but does not

by robartes (Priest)
on Jun 02, 2004 at 20:28 UTC ( #359716=note: print w/replies, xml ) Need Help??


in reply to My ping should fail but does not

A quick test with pingecho:
$ perl -MNet::Ping -MData::Dumper -e 'my $retval=pingecho("");print Du +mper(\$retval);' $VAR1 = \undef;
shows that if you call pingecho() with an empty host, it returns undef, which should fail your if.
Are you sure that $dbSrvrUNC contains an empty string for the second ping?

CU
Robartes-

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://359716]
help
Chatterbox?
[holli]: the chatterbox xml ticker only deleivers fresh data to each client
[holli]: i mean, once you requested it and got the new chatter, the chatter won't appear in the next request
holli keeps hacking along

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2017-09-23 11:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (272 votes). Check out past polls.

    Notices?