Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
using strict
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Joe Smith, post: 4802936"] my $host = ($ARGV[0] and $ping->ping($ARGV[0],30)) ? $ARGV[0] : undef; This makes sure that the variable $host is declared, even if its value is undefined. -Joe [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
using strict
Top