On Tue, 6 Dec 2005, Doug Dawson wrote:
The code below works. Is this the right way to do it?

<%args>
$TestField => undef
</%args>
<%perl>
print $TestField;
</%perl>

I'd prefer $m->print (or $m->out), though I forget why.

<%perl>
use CGI;
my $query = new CGI;
</%perl>

See http://www.masonhq.com/docs/manual/Devel.html#common_traps


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to