Oleg Pronin wrote:
I rendered tt2 template from offline script (mail template). On
catalyst 5.7 i made a "fake" object i.e.
$c = new MyApp();
and set
$c->request/response etc. for the code to work as in request with no
differences.
But the way i initialized Request object is no longer working on 5.8
because Request is a Moose-based class. :-)
Right.
That's massive doing it wrong.
Needing to load Catalyst in scripts to send mail means abstraction fail :/
Cheers
t0m
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/