On Mar 16, 2011 11:53 AM, <ind...@students.itb.ac.id> 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 ] ) )