With Windows, I code in editpad, using the interpreter, and the version of Perl I have is quite old (5.001). On my linux box, this isn't case, and that's where I usually do my coding, so all my code actually does have "use warnings", but when working on Windows, I comment it out, on this particular snippet, I wrote it in Windows, so I just left it out altogether.
I do appreciate the point, though. It really does help me quite a bit, and although I have been using strict since the beginning, I didn't even know about warnings until a kind monk pointed me to it. :)
| [reply] |
#!/usr/bin/perl
#!usr/bin/perl # original post w/o a "/" ....
or
#!/usr/bin/env perl
| [reply] [d/l] [select] |
So, you're saying if I add the extra "/":
#!/usr/bin/perl
when calling the program from the command line, I would no longer have to say "perl my_prog.pl", just "my_prog.pl" to run it? | [reply] [d/l] |
Maybe you've explained this before and I missed but why are you using an unmaintained version of perl?
| [reply] |
Actually, it really isn't necessary, because I've been running into a lot of problems using this old version, so at the moment, I am looking to upgrade, though I haven't settled on anything, however, ActivePerl was recommended as a better starting point than Strawberry...any suggestions, on a specific dl, for a newer version of Perl to work with Win2000?
| [reply] |