[Pdx-pm] $#ARGV

Thomas Keller kellert at ohsu.edu
Tue Sep 19 11:07:50 PDT 2006


Greetings,
I'm running the debugger on a script that fails to launch (it's  
called from another program) that I just got from someone and it  
terminates line 24:

23:	if ( $#ARGV < 0 ) {
24:		die $usage;
25:	}

I'm assuming the debugger terminates because $#ARGV is less than  
zero, but I don't understand why.
How can $#ARGV be less than 0? Have I forgotten something basic again?
Thanks,
		
Tom K
kellert at ohsu.edu
4-2442


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pm.org/pipermail/pdx-pm-list/attachments/20060919/7a5af85c/attachment.html 


More information about the Pdx-pm-list mailing list