in reply to Re^2: using a Perl script in Windows without installing perlin thread using a Perl script in Windows without installing perl
You could look at using one of the GetOpt:: modules, for example GetOpt::Long.