Hmm...Please reformat your question so that it is readable
Check this
Perl Monks Approved HTML tags and
Writeup Formatting Tips in perl monks to help you format your question better.
I'd suggest to
command line argument Perl and look at a few results as well...
Anyway the answer might be hidden in
@ARGV
The array @ARGV contains the command-line arguments
intended for the script. $#ARGV is generally the number
of arguments minus one, because $ARGV[0] is the
first argument, not the program's command name itself