rhumbliner has asked for the wisdom of the Perl Monks concerning the following question:
i thought i had fair understanding of mod_perl until this anomaly showed up. running my script under ModPerl::Registry generates no errors but under ModPerl::PerlRun i get the following errors:
Constant subroutine ModPerl::ROOT::ModPerl::PerlRun::vhosts_xxxx_2eorg_x_index_2epl::O_RDONLY redefined at /System/Library/Perl/Extras/5.12/darwin-thread-multi-2level/ModPerl/Util.pm line 69.
of course my script uses Fcntl and the error disappears if i remove that so i'm assuming it's pulled in somewhere else. but why with PerlRun and not Registry? do i need to use some type of conditional use? can someone clear this up for me?
tia
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: ModPerl::Run & Fcntl ( Constant subroutine redefined )
by Anonymous Monk on Aug 21, 2013 at 22:38 UTC |