On Apr 3, 2013, at 4:29 PM, Angela Barone wrote:

>       I'm just curious about this.  If you put "no warnings" inside a loop, 
> is it good only for that loop, or will it be in effect until the end of the 
> script?

'no warnings' is lexically scoped, meaning that its effect is limited to its 
enclosing block. So if you put it inside a loop, it will only be in effect in 
that loop.

See 'perldoc perlmodlib' for details.


--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to