So....
I made the suggested changes, but I get the following error (which I've seen before but my previous code "seemed" to have eliminated it):
Can't call method "param" on an undefined value at /local/www/htdocs/scripts/campus/nc1_rpt1_summary.pl line 97.
Line 97 is about the fifth line up from the bottom of nc1_rpt1_summary.pl ({ my $val = $CGI->param($parm);). It seems to me I've declared my variables, but the program doesn't think so. The newly revised gory details are on my scratch pad since I didn't want to clutter up this post (after this is resolved, I'll post the answer so future super-searchers can find it).
Is there a better way to do this? I have done some significant reading about recursive vs. iterative, and I think I'd like to go with the iterative variation of launching the new web pages (mostly because of how I'm planning to test this junk). I was trying to make this a small example of how to pass the $CGI variables (I've only got three that I'm trying to track), so I can learn how to use the CGI module along with HTML::Template (which I'm loving, by the way!). I've already got the DBI and DBD::Sybase code working in a separate tiny file.
Thanks for any insights you can provide. If I can't (relatively) quickly resolve this particular issue, I'll backtrack and take freddo411's advice and using jeffa's example and build a tinier example from there. Thanks!
Lori
In reply to Re: Re: HTML::Template, CGI, passing variables, launching new script
by Lori713
in thread HTML::Template, CGI, passing variables, launching new script
by Lori713
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |