It works because the import warnings sentence inside the BEGIN block changes the value of ${^WARNING_BITS} at compile time.Use of uninitialized value in concatenation (.) or string at - line 10 +.
In reply to Re^2: $^W or require warnings and import warnings;
by salva
in thread $^W or require warnings and import warnings;
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |