Re: Trailing 1

Karen <[email protected]> Mon, 16 Apr 2007 17:43:34 -0500
Newsgroups gmane.comp.lang.perl.modules.html-template
Message-ID <[email protected]>
On 4/16/07, Barry Michels <[email protected]> wrote:
>
> print $pjx->build_html($cgi,\&Show_HTML);


This is going to print the result of the build_html... a nice successful 1,
it appears. You might want to test the result, but you probably don't want
to print anything on success.


> sub change_page {
>         my $pg = $cgi->param('page');
>         print Show_Content($pg) if(defined $pg);
> }


This is what prints the actual page.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
Html-template-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/html-template-users