in reply to Explanation of 'use strict;'

The comments above are all correct - see Lexical vs. Package Variables (With a little local thrown in) and Help needed understanding global variables in Perl for more info. Or see the results of this query for much more

personally, I think strict should be enabled by default

  • Comment on what does 'global variable requires package name' mean (was: Re: Total Noob....)

Replies are listed 'Best First'.
Re^2: Explanation of 'use strict;'
by Cody Pendant (Prior) on Jan 12, 2005 at 01:37 UTC
    Tiny hint, but, give your post a better title next time, like "what does 'global variable requires package name' mean"?


    ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
    =~y~b-v~a-z~s; print