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
AFAIK Perl will change \n to \n\r if used on Windows...
Dynamically changing $/ and $\ isnt recommended, unless you know what you're doing...
in which case you should be localizing em.
Have you tried setting the $/ (input record seperator) and $\ (output
seporator) variable for all of your
Under UNIX (the sensible option) ;) You simply mark the file executable
and thats it.
On UNIX you also need the shebang...
#!/usr/bin/perl
or wherever perl is located...
This actually goes for all shell scripts...
--
Greetz
Hendrik
... Quidquid perl dictum sit, altum viditur.
I am trying to install the MAIL::tools module in windows 2000. According to
the INSTALL
file the steps to installation are:
perl Makefile.PL
make
make test
make install
I was able to run the first command, but when I type 'make' in the dos
prompt
i get this error: