perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject Re: Undefined subroutine error
Date Tue, 14 Apr 2009 02:12:27 GMT
On Mon, Apr 13, 2009 at 8:21 PM, Roberto C. Sánchez
<roberto@connexer.com> wrote:
> I've been dealing with trying to figure out an "Undefined subroutine"
> error on one of my sites.  At first I thought it was something to do
> with Apache::ASP, so I sent a message requesting help to that list:
> http://mail-archives.apache.org/mod_mbox/perl-asp/200811.mbox/thread
>
> However, even after upgrading the server from Debian Etch to Lenny and
> migrating the site from Apache::ASP to HTML::Mason, I still get the
> exact same "Undefined subroutine" error.  That makes me think that this
> something at a lower level.

In your Image.pm module, do you declare a package name?  Do you export
get_image_name()?  How do you load this module in your new Mason
setup?

> This has really been causing me to wrack my brain since
> it only occurs on the production server and not on the development
> server (both are identically configured).

Are they really identically configured?  Are you sure there isn't a
difference in startup.pl or in MaxRequestsPerChild or something like
that?

- Perrin

Mime
View raw message