Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Can I automatically generate documentation from HTML::Template?

by tachyon (Chancellor)
on May 17, 2004 at 06:21 UTC ( [id://353879]=note: print w/replies, xml ) Need Help??


in reply to Can I automatically generate documentation from HTML::Template?

You can do $t = HTML::Template->new( filename => 'file.tmpl', debug => 1  ); which will write to STDERR ie your server error logs.

cheers

tachyon

  • Comment on Re: Can I automatically generate documentation from HTML::Template?
  • Download Code

Replies are listed 'Best First'.
Re: Re: Can I automatically generate documentation from HTML::Template?
by toma (Vicar) on May 17, 2004 at 06:38 UTC
    This gives me a lot of lines that look something like:
    ### HTML::Template Debug ### /home/toma/audio/dyn6/perllib/EffectBlock /templates/Add.tmpl : line 2 : parsed VAR insig1
    (newlines added)
    but nothing I would consider to be documentation. Am I missing something?
    It should work perfectly the first time! - toma

      Probably have to hack source to take an extra options flag and print the debugging info you want I guess....

      cheers

      tachyon

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://353879]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (5)
As of 2024-04-24 03:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found