On 11/04/11 at 9:20 PM +0930, Jon Schutz
wrote:
That was my thought. Usage is essentially...
use strict;
use warnings;
use HTTP::Request;
BEGIN {
$ENV{CATALYST_ENGINE} = 'Embeddable';
}
require MyApp;
my $response;
MyApp->handle_request(HTTP::Request->new('GET',
'http://localhost/send/email'), \$response);
Thanks for clarifying. And other than not tying up a FastCGIuse strict;
use warnings;
use HTTP::Request;
BEGIN {
$ENV{CATALYST_ENGINE} = 'Embeddable';
}
require MyApp;
my $response;
MyApp->handle_request(HTTP::Request->new('GET',
'http://localhost/send/email'), \$response);
process, what is the advantage of that approach over just
sending a request via http?
Thanks,
Charlie
--
? Charlie Garrison ? <garrison@zeta.org.au>
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
? http://www.ietf.org/rfc/rfc1855.txt