message into a variable and trying to send it as HTTP response. I've set
the content type too, but I don't get the file on the browser.
I'm getting the following in the log:
Caught exception in engine "Not a GLOB reference at
/usr/local/share/perl/5.8.8/Catalyst/Engine.pm line 47."
I'm dumping the same variable contents into a temp file, and on
checking, it gives me the same content and content length as is being
set as $c->res->body and $c->res->content_length respectively. I'm using
Marc Overmeer's Mail::Box module to parse the message and fetch the
Controller action code:
# fetching $content
my $ctype = $attach->contentType;
In end action:
my ( $self, $c ) = @_;
return 1 in $c->res->body;
Linux kernel 2.6.27
Perl version 5.10
Anything else needed?
Ph: +91 (80) 4089 0000