Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Constant subroutine main::C redefined

by Khen1950fx (Canon)
on Sep 10, 2012 at 12:41 UTC ( #992746=note: print w/ replies, xml ) Need Help??


in reply to Constant subroutine main::C redefined

Using tinita's example:

#!/usr/bin/perl BEGIN { $ENV{'REDEFINE'} = 0; } use autodie; use common::sense; use Env::Export qw/:nowarn REDEFINE/; sub FOO () { 23 } sub FOO () { 42 }


Comment on Re: Constant subroutine main::C redefined
Download Code
Re^2: Constant subroutine main::C redefined
by tinita (Parson) on Sep 10, 2012 at 12:46 UTC
    has the same problem with perl < 5.16

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://992746]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2015-07-02 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (47 votes), past polls