Using this code:
use warnings; use strict; sub a{ 1 }; sub a{ 2 };
Diagnostics says:
$ perl -Mdiagnostics x Subroutine a redefined at x line 6 (#1) (W redefine) You redefined a subroutine. To suppress this warning +, say { no warnings 'redefine'; eval "sub name { ... }"; }
.............
--
Marco Antonio
Rio-PM
In reply to Re: Message while using modlues
by mda2
in thread Message while using modlues
by tamaguchi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |