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
Hello,
I have got a MASON code from Ticket/foo.html with a mandatory URL
parameter id, which is set to 11. You can see the page source code in
your browser with View-Page Source. Nevertheless, I want to copy the
generated code to /var/tmp/bar11.html; /var/tmp/ is a directory with