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

#!usr/bin/perl use strict; use warnings; # Oh, hi, this module not available on my windows box

*Ahhhem*

;)

Replies are listed 'Best First'.
Re^3: A Tribute To The Monks Of Wisdom
by Lawliet (Curate) on Nov 16, 2008 at 05:13 UTC

    Does it not come with Perl? :\

    I'm so adjective, I verb nouns!

    chomp; # nom nom nom

      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

        Maybe you've explained this before and I missed but why are you using an unmaintained version of perl?