Does this help? Parsing your script's command line
In reply to Re: Passing C++ variable into Perl in command line by toolic in thread Passing C++ variable into Perl in command line by Kastagire