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...
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...
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
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
--
[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