use strict; + use warnings; sub c { no warnings; print $d; } sub a{ no warnings; print $b; c; } a();
The first Use of uninitialized value can be fixed by no warnings, but the second is reporting a fatal error,why?
In reply to How exactly does no work? by PerlOnTheWay
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |