At 03:47 PM 9/27/2004, Bill Moseley wrote:
>On Mon, Sep 27, 2004 at 03:34:07PM -0700, Anthony Baratta wrote:
> > At 12:36 PM 9/27/2004, Bill Moseley wrote:
> > >Following our discussions last week... can I get a few Windows users
> > >to help test something?
> >
> > I had to make one tweak to get it to work:
> >
> > my @command = ( 'perl', 'my test.pl', 'first arg1', '"second arg2"' );
> >
> > I had to drop the "my " in front of test.pl. ActiveState Perl didn't like
> > it.
>
>Oh, but that was part of the test. How does active state not like it?
>Does it work if you use double quotes?
>
> my @command = ( 'perl', '"my test.pl"', 'first arg1', '"second arg2"' );
>
>You did name the test program "my test.pl", right?
;-)
script one = bill_test_1.pl
script two = bill_test_2.pl
When I have the "my bill_test_2.pl" in there with ' or " it bails with the
following message:
Name "main::w" used only once: possible typo at C:\Program
Files\SWISH-E\indexes
\Tmp\Bill_test_1.pl line 11.
Can't open perl script "my bill_test_2.pl": No such file or directory
Bad file descriptor at C:\Program Files\SWISH-E\indexes\Tmp\Bill_test_1.pl line
18.
Pid = 5016
output:
done
Received on Mon Sep 27 16:34:21 2004