in reply to Perl Input Parameters for Unix
if ( $ARGV[0] eq "-i" ) { #do something with $ARGV[1] } [download]