On Mar 16, 2011 11:53 AM, <[email protected]> wrote: > > > if(@ARGV != 1){ >
I don't think you can look at an array like its a string like that. Maybe string( @ARGV ) != 1 might work. But what you probably want is: If( defined( $ARGV[ 0 ] ) )
On Mar 16, 2011 11:53 AM, <[email protected]> wrote: > > > if(@ARGV != 1){ >
I don't think you can look at an array like its a string like that. Maybe string( @ARGV ) != 1 might work. But what you probably want is: If( defined( $ARGV[ 0 ] ) )