On Tue, Aug 17, 2004 at 05:46:53PM -0500, Jay Austad wrote:
> On Aug 17, 2004, at 3:19 PM, John J. Trammell wrote:
>> On Tue, Aug 17, 2004 at 01:30:32PM -0500, Jay Austad wrote:
>>> I'm getting the following error message when trying to run a CGI
>>> that uses the Template-Toolkit modules for perl.  Any ideas?  The
>>> module is there.
>>>
>>> Content-Type: text/html  Can't locate object method "print" via
>>> package "Template" at
>>> /home/austad/www/www.signal15.com/quizz/index.cgi
>>> line 109. Content-type: text/html
>>>
>>> Software error:
>>> Can't locate object method "code" via package "Template" at
>>> /home/austad/www/www.signal15.com/quizz/index.cgi line 88.
>>
>> Did you "use Template;"?
> Yep, it's in there.
> 
> I'm trying to get a cgi script called "quizz" running, and it's not 
> working out so well.

After perusing the perldoc for Template, it looks like there aren't any
"print" or "code" methods for the Template module, unless you're doing
some nonstandard extension of the module.

I'd suggest you consult with folks on comp.lang.perl.misc (don asbestos
suit first, please), or ask on perlmonks.org, or ask the local
perlmongers group.  I'll fix it for you, but I don't work for free.  :-)

-- 
trammell at el-swifto.com  9EC7 BC6D E688 A184 9F58  FD4C 2C12 CC14 8ABA 36F5
Twin Cities Linux Users Group (TCLUG)      Minneapolis/St. Paul, Minnesota

_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list