You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you load perl5i::2 twice in the same namespace, you'll get warnings.
use perl5i::2;
use perl5i::2;
Subroutine main::CLASS redefined at /Users/schwern/perl5/perlbrew/perls/perl-5.16.2-threads/lib/site_perl/5.16.2/CLASS.pm line 20.
Prototype mismatch: sub main::open (*;$@) vs none at /Users/schwern/perl5/perlbrew/perls/perl-5.16.2-threads/lib/site_perl/5.16.2/perl5i/2/UNIVERSAL.pm line 23.
Eliminate those warnings. The first one is a fairly straightforward double export. CLASS.pm doesn't use Exporter. Best to fix that in CLASS.pm.
$ perl -wle 'use CLASS; use CLASS'
Subroutine main::CLASS redefined at /Users/schwern/perl5/perlbrew/perls/perl-5.16.2-threads/lib/site_perl/5.16.2/CLASS.pm line 20.
The second is part of the interaction between use utf8::all and use autodie both want open.
If you load perl5i::2 twice in the same namespace, you'll get warnings.
Eliminate those warnings. The first one is a fairly straightforward double export. CLASS.pm doesn't use Exporter. Best to fix that in CLASS.pm.
The second is part of the interaction between
use utf8::all
anduse autodie
both wantopen
.Originally reported in #250.
The text was updated successfully, but these errors were encountered: