On Jul 29, Robert Smith said:
>Running: "perl -s testOptions.pl --graphical"
Don't use the -s switch to Perl if you're using a module to support
command-line options.
-s gets them first, and removes them from @ARGV (or rather, they never
make it to @ARGV).
If you print ${-graphical} in your pr
Robert
-----Original Message-
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 10:30 AM
To: Robert Smith; [EMAIL PROTECTED]
Subject: RE: PerlApp and commmand line switches
I use switches with my PerlApp .EXEs all the time. What are you using
to
handle the switch
I use switches with my PerlApp .EXEs all the time. What are you using to
handle the switches, GetOpt::XXX or a homegrown solution?
-Original Message-
From: Robert Smith [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 29, 2002 10:27 AM
To: [EMAIL PROTECTED]
Subject: PerlApp and commmand
Is there a way to feed a switch to a PerlApp generated .exe?
I have a perl script that takes some command line arguments:
For instance "perl -s myscript.pl -g -f"
But when I generate a myscript.exe from PerlApp, the switches no longer
function...
i.e. "myscript.exe -g -f "
A work aroun