It does.
>type ModA.pm package ModA; use Exporter qw( import ); @EXPORT = qw( foo ); sub foo { print __PACKAGE__, "\n" } 1; >type ModB.pm package ModB; use Exporter qw( import ); @EXPORT = qw( foo ); sub foo { print __PACKAGE__, "\n" } 1; >perl -we"use ModA; use ModB;" Subroutine main::foo redefined at c:/Progs/perl5101/lib/Exporter.pm li +ne 67. at -e line 1
You need to turn on warnings if you want warnings.
In reply to Re: Exporter collision detection
by ikegami
in thread Exporter collision detection
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |