CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: mod_perl: Re: [kencl] What package is the main script in?: Edit Log



Paul
Enthusiast

Aug 20, 2003, 5:29 PM


Views: 14388
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)


Edit Log:
Post edited by Paul (Enthusiast) on Aug 20, 2003, 5:30 PM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives