clueless newbie has asked for the wisdom of the Perl Monks concerning the following question:
which claims that "main" defined a sub "abc" which was replaced by the "abc" exported by "One". The "def" exported by "One" was replaced by the "def" exported by "Two", etc. (Far more things are exported but we're only interested in the potential collisions.) Would these changes be considered useful enhancements or ?C:\Exporter>perl -I. test_03.pl Subroutine jkl redefined at test_03.pl line 16. Begin Exporter::CHECK main::abc local <*> One::abc main::def One::def <*> Two::def main::ghi Two::ghi <*> Three::ghi main::jkl Three::jkl <*> local End Exporter::CHECK Exports list has been generated. Exporter will now terminate.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: POC/RFC: Changes to Exporter;
by JavaFan (Canon) on Dec 28, 2010 at 21:14 UTC |