Quoting Gabor Szabo <[EMAIL PROTECTED]>: > On Sat, 2 Oct 2004 [EMAIL PROTECTED] wrote: > > > > > > > I have been having some trouble with a module I am working on that > requires > > HTML::Template. > > > > I am trying to use the __DATA__ section of the module as a default template > to > > fall back on if one is not supplied to my constructor. > > In one of my projects I am also using templates within the > code. I put the templates in a scalar variables. > > You can take a look at the code at > http://search.cpan.org/dist/CGI-FileManager/ > > Gabor
Hey, thanks for the tip. I have already resorted to using a scalar, but it bugs me that I could not get my original attempt to work. I would still prefer to use the __DATA__ section, or at least understand why I can't. Thanks, -Ken ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users