On Tue, Apr 14, 2009 at 12:36:25PM -0400, Perrin Harkins wrote: > On Tue, Apr 14, 2009 at 8:38 AM, Roberto C. Sánchez > <[email protected]> wrote: > > OK, so the changes to include the mod_include and mod_disk_cache on the > > production server did not do the trick. The problem persists. > > I think it's all about the way you export your function, but you > haven't answered my question about how you call it. > Sorry, I thought that you were asking how I loaded the module. It appears that you want to know how I call the specific function.
As far as loading the module, I have tried:
- "PerlModule Example::Image" in .htaccess
- "use Example::Image;" in the main HTML::Mason component
As far as calling the function:
- get_image_data('masthead.png', $urls{'img'}, $dirs{'img'});
- Example::Image::get_image_data('masthead.png', $urls{'img'}, $dirs{'img'});
As far as "exporting", I'm not sure to what you are referring.
Regards,
-Roberto
--
Roberto C. Sánchez
http://people.connexer.com/~roberto
http://www.connexer.com
signature.asc
Description: Digital signature
