in reply to Re^6: .pl or shebang
in thread .pl or shebang
No, -T is doing its job.No, it's not. The message you got is not a warning, the program terminates after that. Save this as foo.pl:
then run it:#!perl -T print 42;
try again with -T on the commandline:C:\Users\burak\Desktop>perl foo.pl "-T" is on the #! line, it must also be used on the command line at fo +o.pl line 1. C:\Users\burak\Desktop>
C:\Users\burak\Desktop>perl -T foo.pl 42 C:\Users\burak\Desktop>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: .pl or shebang
by Anonymous Monk on May 16, 2009 at 05:06 UTC | |
by ikegami (Patriarch) on May 16, 2009 at 10:25 UTC | |
by Anonymous Monk on May 16, 2009 at 10:46 UTC | |
by ikegami (Patriarch) on May 16, 2009 at 16:12 UTC | |
by Burak (Chaplain) on May 16, 2009 at 17:18 UTC | |
| |
| |
by Jenda (Abbot) on May 16, 2009 at 22:52 UTC |