[Catalyst] PDF upload problems (prob OT)?

Dermot paikkos at googlemail.com
Sat Nov 8 00:13:37 GMT 2008

2008/11/7 Dr. Jennifer Nussbaum <bg271828 at yahoo.com>:
> Anyone willing to help me on this? :-) Im only missing four bytes, somewhere.... Or adding them rather.
> Jen.

I can't test this from where I am writing but as Adeola says.

Open a temporary FH, binmode it, pour the content in. Then under MP2 you would


content_type is 'application/pdf'

I guess the Cat alternative would be

$res->write( $tmpfh );

but you'd want to check that :)

More information about the Catalyst mailing list