At 13:20 28.05.2001 -0500, you wrote:
> > The #! operator does not work.
>
>Yes, the #! operator doesn't help in getting perl
>to execute (though you should still use it to set
>execution options like -w etc.)

you need to use

#! perl (followed by whatever switches you want to use)

and have perl in your path
To set perl in your path go to:
Start > Settings > Control Panel
In the control panel go to System
Click the upper right tab "Advanced"
Click the middle button "Environment Variables"
The bottom text box contains your system variables.  Find Path, highlight 
it, and click Edit...
At the end of the path type a semi-colon and the path to your perl.exe

>On Windows, you should use the usual Windows
>ways of doing this sort of thing. I think the most
>common Windows idiom is to give all perl scripts
>a particular extension, say .pl, and then create a
>file association from .pl to the perl interpreter.

Actually, all my perl extensions (.pl, .pm, .cgi) are associated with my 
text editor -- to make them run, perl has to be set in the path.


Aaron Craig
Programming
iSoftitler.com

Reply via email to