in reply to Re^4: Constant subroutine main::C redefined
in thread Constant subroutine main::C redefined
care to show some code and inform us which perl version you are using? *sigh*
talking about constants without further explanation for me means using constant.pm. everything else is just a subroutine with an empty prototype.
talking about a subroutine with an empty prototype?
talking about constants without further explanation for me means using constant.pm. everything else is just a subroutine with an empty prototype.
talking about a subroutine with an empty prototype?
$ perl5.16.0 -wE' no warnings "redefine"; sub FOO () { 23 } sub FOO () { 42 }' $
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: Constant subroutine main::C redefined (diag)
by tye (Sage) on Sep 10, 2012 at 14:04 UTC | |
Re^6: Constant subroutine main::C redefined
by BrowserUk (Patriarch) on Sep 10, 2012 at 12:38 UTC | |
by toolic (Bishop) on Sep 10, 2012 at 12:50 UTC | |
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 tobyink (Canon) on Sep 10, 2012 at 21:47 UTC | |
by BrowserUk (Patriarch) on Sep 10, 2012 at 21:56 UTC | |
|
In Section
Seekers of Perl Wisdom