in reply to Constant subroutine main::C redefined
put
no warnings "redefine";
before the redefinition.
this does not work from "outside", e.g. for
no warnings "redefine";
before the redefinition.
this does not work from "outside", e.g. for
no warnings "redefine"; # won't help here require Foo; delete $INC{"Foo.pm"}; require Foo;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Constant subroutine main::C redefined
by BrowserUk (Patriarch) on Sep 10, 2012 at 11:58 UTC | |
by tinita (Parson) on Sep 10, 2012 at 12:08 UTC | |
by Corion (Patriarch) on Sep 10, 2012 at 12:11 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2012 at 12:16 UTC | |
by tinita (Parson) on Sep 10, 2012 at 12:31 UTC | |
by tye (Sage) on Sep 10, 2012 at 14:04 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2012 at 12:38 UTC | |
|
In Section
Seekers of Perl Wisdom