On Mon, 2003-11-24 at 20:19, Puneet Kishor wrote: > This comes up frequently. Maybe the explanation(s) should be added to > the H::T docs (htdocs!)
Might be a good idea! > $template->param('result' => $sth->fetchall_arrayref({})); Thanks for pointing this out, the '({})' to arrayref would have thrown me for a loop...uh...no pun intended. > You can construct this programmatically if you are reading sequentially > from a file. Thanks, this info allowed me to get it working in less than 30 seconds. Yay! I /knew/ it was something simple. > Please always use strict and -w. The first two lines of my cgi script are: #!/usr/bin/perl -w use strict; When you say to "use -w", is that sufficient? What about if it's being run under mod_perl and Apache::Registry so that line isn't, as I understand it, being invoked. Does the perl still check to see if there are invocation flags on the first line and respect them? Hrm... -Ken ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users