in reply to Re^6: Constant subroutine main::C redefined
in thread Constant subroutine main::C redefined
Not sure if it helps, but diagnostics shows:
Constant subroutine FOO redefined at -e line 1 (#1) (S) You redefined a subroutine which had previously been eligible for inlining. See perlsub/"Constant Functions" for commentary and workarounds.
Leading to Constant Functions, which mentions a workaround.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^8: Constant subroutine main::C redefined
by BrowserUk (Patriarch) on Sep 10, 2012 at 13:18 UTC | |
by tinita (Parson) on Sep 10, 2012 at 13:50 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2012 at 14:37 UTC | |
by tinita (Parson) on Sep 10, 2012 at 17:26 UTC | |
by kennethk (Abbot) on Sep 10, 2012 at 16:40 UTC | |
by tobyink (Canon) on Sep 10, 2012 at 21:47 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2012 at 21:56 UTC | |
by tobyink (Canon) on Sep 10, 2012 at 22:43 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2012 at 23:47 UTC | |
|
In Section
Seekers of Perl Wisdom