in reply to Re: Redefining Imported Subs: of scope and no
in thread Redefining Imported Subs: of scope and no
> ... merely controls whether the compiler recognises it or not. (It always recognises CORE::say, though.)
Not always, at least for me, with which version did you check?
lanx@nc10-ubuntu:~$ perl -e 'CORE::say("bla")' CORE::say is not a keyword at -e line 1. lanx@nc10-ubuntu:~$ perl -E 'CORE::say("bla")' bla lanx@nc10-ubuntu:~$ perl -version This is perl, v5.10.0 built for i486-linux-gnu-thread-multi
> say is an operator, and use feature say; merely ...
As a minor nitpick, according to the definitions in perlglossary I'd rather use built-in and not operator to describe say, though the differences are indeed fuzzy.
Cheers Rolf
In Section
Seekers of Perl Wisdom