http://www.perlmonks.org?node_id=919199


in reply to Prototype mismatch using mod_perl

I'm just guessing, but it sounds like you're getting a mixture of libs from 2 different versions of perl.

Any chance you've got a PERL5LIB environment variable, are passing a -I path to your script, or are using 'use lib' statements that hard code /usr/share/perl5?


Mike

Replies are listed 'Best First'.
Re^2: Prototype mismatch using mod_perl
by AlfaProject (Beadle) on Aug 08, 2011 at 13:00 UTC
    I'm not a perl professional , but I didn't used or changed the things you are mentioned.
    we use standard red hat 6 installation with perl 5.10.1 and apache 2.2 that came with the distro.
    I added mod_perl , that the only thing I added manually.
    Other things are added automaticly using CPAN util.
      I added mod_perl , that the only thing I added manually. Other things are added automaticly using CPAN util.
      So why did you add mod_perl manually? Perhaps something went wrong there? Did you run all tests when installing mod_perl? What results did you get?

      CountZero

      A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James