Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

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,,

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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2015-11-26 17:02 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (703 votes), past polls