On Mon, Apr 13, 2009 at 8:21 PM, Roberto C. Sánchez
<robe...@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

Reply via email to