in reply to Passing C++ variable into Perl in command line
If you want to access the command line arguments in the perl script, @ARGV and possibly Getopt::Long might help you.