if ( $ARGV[0] eq "-i" ) { #do something with $ARGV[1] }