On Wed, Apr 3, 2013 at 4:29 PM, Angela Barone <ang...@italian-getaways.com>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? > See: perldoc perllexwarn >From above doc: ... use warnings; my @a; { no warnings; my $b = @a[0]; } my $c = @a[0]; The code in the enclosing block has warnings enabled, but the inner block has them disabled. ... -- Charles DeRykus