On 04/04/2013 00:29, 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?
Also see `perllexwarn`
Rob
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For addition
On 04/04/2013 00:29, 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?
Hi Angela
The `warnings` pragma is *lexically* scoped. That means it applies to
the (rest of) the
On Wed, 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?
>
See: perldoc perllexwarn
>From above doc:
...
use warni
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
e
On Wed, Apr 3, 2013 at 8: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?
>
>
Only for the loop -- warnings, along with most other pragmas (strict,
fea