Interesting solution.  Any reason not to just:

my $body=$m->scomp('/pagetosend.html', someArgs => \%hash);

my $msg = new Mail::Send;
    $msg->to('[EMAIL PROTECTED]');
    $msg->subject('The Web Page');
    $msg->set("From", '[EMAIL PROTECTED]');
    my $mail = $msg->open;
    print $mail $body;
    $mail->close;

?


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to