[rt-users] Getting the page source code from a generated MASON-File

Thomas Sibley trs at bestpractical.com
Tue Apr 19 11:20:20 EDT 2011


On 04/18/2011 08:58 AM, Wolfram Huettermann wrote:
>    use IO::File;
>    my $File = new IO::File">/var/tmp/bar$id.html";
>    Abort("Could not open file!") unless $File;
>   $PageSource = $m->comp("/Ticket/foo.html",  id => $id);

You want $m->scomp.

Thomas



More information about the rt-users mailing list