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

Re: ModPerl::Run & Fcntl ( Constant subroutine redefined )

by Anonymous Monk
on Aug 21, 2013 at 22:38 UTC ( #1050428=note: print w/ replies, xml ) Need Help??


in reply to ModPerl::Run & Fcntl

with PerlRun and not Registry? do i need to use some type of conditional use? can someone clear this up for me?

See ModPerl::PerlRun, Apache::PerlRun, http://perl.apache.org/docs/2.0/user/porting/porting.html, http://perl.apache.org/docs/1.0/guide/porting.html#Apache__PerlRun__a_closer_look

solutions 1) disable the warning ( PerlSetVar ReloadConstantRedefineWarnings Off, no warnings 'redefine'; 2) stop importing symbols, use fully qualified names like Fcntl::LOCK_EX() 3) do the importing outside your cgi (i know, what? lol) 4) something else, cause well :)

the dreaded 'subroutine redefined'


Comment on Re: ModPerl::Run & Fcntl ( Constant subroutine redefined )

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2015-07-05 14:48 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 (67 votes), past polls