That doesn't make sense: if sub blah has been defined then blah and -blah are not barewords, they are function calls
use warnings; use strict; BEGIN { $INC{'Blah.pm'}=1 } sub Blah::import { print "@_\n" } sub abc { 42 } use Blah -abc; # "Blah -42" use Blah -def; # "Blah -def"
In reply to Re: Why perl with strict allows to use -bareword?
by Anonymous Monk
in thread Why perl with strict allows to use -bareword?
by hurricup
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |