in reply to Re: Common uses of "use"
in thread Common uses of "use"

strict and warnings were pretty much my mainstay since Perl5 was introduced.

Hard for that to actually have been the case since warnings.pm wasn't invented until Perl 5.006.

- tye        

Replies are listed 'Best First'.
Re^3: Common uses of "use" (5.0?)
by kcott (Archbishop) on Oct 28, 2010 at 01:07 UTC

    I have been adding use warnings; to the top of my code as a standard practice for about a decade.

    My post was not intended as some sort of definitive historical commentary.

    To head off any similar comments regarding the strict pragma: perlhist shows the first Perl5 as 5.000alpha1 1993-Jul-31. I make no claims that I used that specific version nor that the strict pragma was available in that version.

    I'm reasonably certain that "use" was introduced in a Perl5 version so I wouldn't have "use"d anything in any Perl version prior to that.

    -- Ken

      glitchmr@strawberry ~> corelist strict strict was first released with perl 5 glitchmr@strawberry ~> corelist warnings warnings was first released with perl v5.6.0