in reply to Re^2: A Tribute To The Monks Of Wisdom
in thread A Tribute To The Monks Of Wisdom

Does it not come with Perl? :\

I'm so adjective, I verb nouns!

chomp; # nom nom nom

Replies are listed 'Best First'.
Re^4: A Tribute To The Monks Of Wisdom
by koolgirl (Hermit) on Nov 16, 2008 at 05:22 UTC

    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. :)

      ...just in case, you want to run this under Linux, without explicitly calling perl from the commandline:

      #!/usr/bin/perl #!usr/bin/perl # original post w/o a "/" ....
      or
      #!/usr/bin/env perl

        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?
      Maybe you've explained this before and I missed but why are you using an unmaintained version of perl?
        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?