chewtoy has asked for the wisdom of the Perl Monks concerning the following question:
condition1
condition3
What's up with that?! Is this a bug? I have the dreadful feeling this may be a FAQ and betray a profound misunderstanding on my part... but it makes no sense... Please enlighten me!!!
Code:
#!/opt/perl5/bin/perl # What the heck is going on here?! use Net::Ping; $host1="hqlinuxdev.hj-int"; $host2=hqlinuxdev.hj-int; $host3='hqlinuxdev.hj-int'; print "condition1\n" unless pingecho("$host1"); print "condition2\n" unless pingecho("$host2"); print "condition3\n" unless pingecho("$host3");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is this a bug or am I insane/stupid/ignorant/etc
by chromatic (Archbishop) on Feb 01, 2002 at 17:37 UTC | |
|
Re: Is this a bug or am I insane/stupid/ignorant/etc
by VSarkiss (Monsignor) on Feb 01, 2002 at 17:37 UTC | |
|
Re: Is this a bug or am I insane/stupid/ignorant/etc
by YuckFoo (Abbot) on Feb 01, 2002 at 17:41 UTC |