Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
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 cooling their heels in the Monastery: (5)
As of 2014-08-23 20:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (178 votes), past polls