Theo has asked for the wisdom of the Perl Monks concerning the following question:
the above code works. (duh)#!/opt/bin/perl print "test\n";
When invoked from the command line, I get the following error.#!/opt/bin/perl -w print "test\n";
(There is a space before the 'on #!' part of the error msg, if that's significant.)%perl tn52400.pl on #! line at tn52400.pl line 1.
-theo-
(so many nodes and so little time ... )
Note: All opinions are untested, unless otherwise stated
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using -w breaks simple script
by jasonk (Parson) on Oct 15, 2003 at 19:45 UTC | |
by Theo (Priest) on Oct 15, 2003 at 20:27 UTC | |
|
Re: using -w breaks simple script
by Abigail-II (Bishop) on Oct 15, 2003 at 20:19 UTC | |
by belg4mit (Prior) on Oct 15, 2003 at 20:53 UTC | |
|
Re: using -w breaks simple script
by belg4mit (Prior) on Oct 15, 2003 at 18:55 UTC | |
by Theo (Priest) on Oct 15, 2003 at 20:16 UTC | |
by belg4mit (Prior) on Oct 15, 2003 at 20:50 UTC | |
|
Re: using -w breaks simple script
by Taulmarill (Deacon) on Oct 15, 2003 at 19:33 UTC | |
|
Re: using -w breaks simple script
by vek (Prior) on Oct 15, 2003 at 19:17 UTC |