in reply to Re: Clustering with Perl
in thread Clustering with Perl

What's the reason behind this stuff?
#! perl -s use 5.010; use strict;
"-s" adds some command-line parsing you're not using, and "use 5.010" breaks backward compatibility and (maybe?) enables some features you're not using. IIRC, the standard ritual chant around these parts is
#!/usr/bin/env perl use strict; use warnings; use diagnostics;
The particularly devout may use
#!/usr/bin/env perl use Modern::Perl; use Moose; use diagnostics;
The purpose of the repetition is to get people to write things without understanding them, so making up your own chant is confusing and counterproductive.

Replies are listed 'Best First'.
Re^3: Clustering with Perl
by BrowserUk (Patriarch) on Jun 24, 2009 at 17:28 UTC
    What's the reason behind this stuff? ... The purpose of the repetition is to get people to write things without understanding them

    Because that's what I use on my system, because I DO UNDERSTAND what each of them does, and I use all of them frequently enough that I consider them standard.

    And because I don't believe in trying to brainwash the world with "ritual chants" or cargo cult code.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.