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