At 09:55 PM 7/4/2001, Tim Musson wrote:
>Hey RL,
>
>Wednesday, July 04, 2001, 9:41:19 PM, my MUA believes you used
>QUALCOMM Windows Eudora Version 5.1 to write:
>
>
>snip ------
>
>RA> When I run it in my ActivePerl.exe window --
>RA>   nothing happens.
>
>Not sure what that is... Did you get your "ActivePerl.exe" window by
>running perl.exe from Windows Explorer? This is not how you want to
>run perl...

No just clicking on the exe in my ActivePerl folder.
All I put in was the name of the file. Looks like from
what you said I either have to have it in the same folder
as the ActivePerl.exe or tell the exe what file it is in.
I will try it one of those ways and see what happens.

Still reading the documentation on ActivePerl.


>RA> When I run it in my dos window --
>RA>   I get an error message that says:
>
>RA> Missing right curly or square bracket at findit.pl line 6, at end of line
>RA> syntax error at findit.pl line 6, at EOF
>RA> Execution of findit.pl aborted due to compilation errors.
>
>You already got the closing } on your while...

Yes this is ok now


>RA> Do I need to compile this file before I use it?
>no
>RA> I thought perl was a "self-compiling language".
>not sure you want to look at it this way.  Others on the list can
>probably answer how this works better than I, but perl is a
>"run-time" compiled language - which means it is compiled when you run
>it.
>
>RA> What is it looking for?
>RA> Why didn't ActivePerl.exe run it?
>
>The way you want to run perl code on Win32 is:
>     perl MyCode.pl Parm1 Parm2 etc

Not sure what you mean here. I know MyCode.pl is the name of
the *.pl file I make. Not sure what you mean by Parm1 and Parm2.
Sorry to be so dumb. Better let me see if I can read some more of
the manual. Looks like I have a LOT to learn.

How do you like Bat? I was thinking of using it instead of Eudora.

>
>or the default for the current ActiveState install should let you just
>run:
>     MyCode.pl Parm1 Parm2 etc
>
>and (this is how I do it usually) if you want to change your PATHEXT
>environment variable to include .pl, you can just run:
>     MyCode Parm1 Parm2 etc

I need to find out what PATHEXT is.
Thanks for all of your time.
Any further ideas are appreciated.


>--
>[EMAIL PROTECTED]
>Using The Bat! (http://www.ritlabs.com/the_bat/) eMail v1.53d
>Windows NT 5.0.2195 (Service Pack 1)
>You can't guard against the arbitrary!
>
>
>NetZero Platinum
>No Banner Ads and Unlimited Access
>Sign Up Today - Only $9.95 per month!
>http://www.netzero.net


Thanks,
RL

Reply via email to