in reply to Default Scope Behaviour

2) We should be able to use a keyword (say global()) to declare a variable having global scope()?

Isn't this what use vars is for?

Replies are listed 'Best First'.
Re: Re: Default Scope Behaviour
by NeoPerl (Acolyte) on Jan 01, 2001 at 23:23 UTC
    I looked up "use vars", and it should be able to provide much convenience for that sort of "laziness". :-)
    (However, it is nearly half the solution anyway. You still have to explicitly declare each variable as local scope.)

    Thanks for pointing that out.

      Tastes may differ. Personally I consider the combination of strict, vars, and my to be enough structure to be useful as a spellchecker without having enough bureaucracy to be annoying.

      Which means that if you did get the feature that you want, I would want the option of being able to turn it off.