Alan Burlison wrote: > > Steve Simmons wrote: > > > I'd prefer that we break these vars out into a set of hashes with > > appropriate names: > > > > $PERL_CORE{warnings} vs $^W > > $PERL_CORE{version} vs $^V > > $PERL_FORMATS{name} vs $^ > > $PERL_FORMATS{lines_left} vs $- > > Hmm - I quite like this. I'd like it even more if they were package > scoped and/or localisable. My choice of warning level in my package > shouldn't affect your choice in your package. Now *that's* an advantage I like! Being able to turn on certain warnings just for certain packages (rather than just a global all-or-nothing $^W) would be really cool. As for nitty-gritty, I like the $PERL::CORE::Warnings or $perl::core::warnings syntax others have mentioned a little better. -Nate
- Removing/fixing $[line noise here] variables Steve Simmons
- Re: Removing/fixing $[line noise here] variables Nathan Torkington
- Re: Removing/fixing $[line noise here] variab... John Porter
- Re: Removing/fixing $[line noise here] variables Alan Burlison
- Re: Removing/fixing $[line noise here] variab... Nathan Wiger
- Re: Removing/fixing $[line noise here] va... Dan Sugalski
- Re: Removing/fixing $[line noise here] va... Steve Simmons
- Re: Removing/fixing $[line noise here] variables Piers Cawley
- RE: Removing/fixing $[line noise here] variables Brust, Corwin
- RE: Removing/fixing $[line noise here] variab... Dan Sugalski
- Re: Removing/fixing $[line noise here] va... Steve Simmons
- Re: Removing/fixing $[line noise here... Dan Sugalski
- Re: Removing/fixing $[line noise here... Larry Wall
- Re: Removing/fixing $[line noise... J. David Blackstone
- RE: Removing/fixing $[line noise here] variables Brust, Corwin