Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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 lurking in the Monastery: (10)
As of 2016-10-25 13:12 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (319 votes). Check out past polls.