in reply to perl : HTML:: Mason Print a perl hash inside HTML tags in a tabular format
so you'll want to include some similar processing on your $html variable.my $outbuf; my $interp = new HTML::Mason::Interp (comp_root=>'<component root> +', data_dir=>'<data directory>', out_method=>\$outbuf); my $retval = $interp->exec('<component path>', <args>...); open(F,">mason.out"); print F $outbuf; close(F); print "return value of component was: $retval\n";
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|