I have an app that runs perfectly on our servers that have 5.10.
This multiple inheritance use base "myFile" is fine on those servers.
I'm running on MAC Yosemite and and running 5.18 perl and Apachie
Billys-MacBook-Pro:Perl bpatto$ httpd -v
Server version: Apache/2.4.10 (Unix)
Server built:   May 19 2015 09:36:36

My app times out when I have my use base.  Here's an example :

cp.cgi :
  use CP;

CP.pm
 use base "Base";

Base.pm
 use base 'CGI::Application';
I replaced the above with the below and it goes through this part with no 
problem.
BEGIN {
  if ($] lt '5.18') {
    use base 'CGI::Application';
  } else {
    use parent 'CGI::Application';
  }
}

In several go the perl modules that get loaded from cpan they still use 'use 
base ".."'
>From perldoc base I get this :
DESCRIPTION
       Unless you are using the "fields" pragma, consider this module
       discouraged in favor of the lighter-weight "parent".


I've been able to follow my cgi down to the CGI::Application before it gets the 
time out.

Any suggestions?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to