
Paul
Enthusiast
Aug 20, 2003, 5:29 PM
Views: 21578
|
Re: [kencl] What package is the main script in?
|
|
|
It's not really a mod_perl issue, it's basic modulation issues. You aren't specifying the class name. Instead of: Load_Template(\%blah) you need: Custom::Template::Load_Template(\%blah) ...then it will find the right routine. You only leave the class name out if you are importing the routine into your script, eg... use Custom::Template qw/Load_Template/;
(This post was edited by Paul on Aug 20, 2003, 5:30 PM)
|