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");
In reply to Is this a bug or am I insane/stupid/ignorant/etc by chewtoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |