On Monday, June 10, 2002, at 12:58 , Batchelor, Scott wrote:

> I am using an exec command like this:
>
> Exec "perl.pl $variable"
>
> Scott


if you ran that at the command line,

        #demo in /bin/sh constructs

        variable="arg1 arg2 arg3"
        perl.pl $variable

then your perl code either needs to walk through these
"command line arguments" directly with walking @ARGV

OR you may wish to look at

        Getopt::Std and/or Getopt::Long

to use the more traditional ways of grovelling through
the @ARGV values - and dealing with what stuff is suppose
to be there with what flags and all...

does that help????



ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to