Hi, Christopher Spears <[EMAIL PROTECTED]> wrote: > I've decided to rework my Perl script that pings a blade and > checks for nrnode: > > my @bladeNumbers = @ARGV; > > if (scalar @bladeNumbers == 0) { > print "No blades entered!\n"; > exit; > }
if( my @bladeNumbers = @ARGV ){ ## code here } else { print "No blades entered!\n"; } HTH, Thomas -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>