O.K. - I run Perl on win2k - screen dumps follow: C:\>PATH PATH=C:\Perl\bin\;C:\Tcl\bin;......
C:\>perl -e "print qq~Hello\n~" Hello C:\>perl print "hello\n" hello ^C C:\> So, Perl works. Now, I have some scripts (one of which is called 'example.pl' - the one from the start of 'Learning Perl') in a directory called MyPerl on c:\ This script is: #!perl @lines = `c:\\Perl\\bin\\perldoc -u -f atan2`; foreach (@lines) { s/\w<([^>]+)>/\U$1/g; print; } So to run this script....... C:\>cd MyPerl C:\MYPERL>example.pl =over 8 =item atan2 Y,X Returns the arctangent of Y/X in the range -PI to PI. For the tangent operation, you may use the MATH::TRIG::TAN function, or use the familiar relation: sub tan { sin($_[0]) / cos($_[0]) } =back C:\MYPERL> This scripts runs fine from the command window - remember that if you just double click on a script from file manager, it will just fire up a command window for long enough to run the script - you need to open a command window (Start -> Run -> Command) and then change directory to where your script is saved and then execute the script by typing its name (with extension). You could also specify the full path to the script from the command prompt - i.e. c:\MyPerl\example.pl hth Matt - ****************************** Matt Wetherill University of Salford [EMAIL PROTECTED] mobile: +44 7812 016059 office: +44 161 295 5853 ****************************** "Never try to teach a pig to sing…it wastes your time and it annoys the pig." - Anon. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]