dear M wizards:
the example in
http://mojolicious.org/perldoc/Mojolicious/Guides/Tutorial#File-uploads is
great, except that it does not show how to get the uploaded file contents.
may I suggest adding it?
the good news is that $uploadfile->asset->{content} seems to have the
content. the bad news is that this is not the case if the uploaded file is
of certain mime types, such as 'png'.
what is the recommended way to get all the uploaded (binary) content into a
perl string? (I sometimes want to write to a file, which may be faster
with a move; sometimes not.)
sincerely,
/iaw
--
You received this message because you are subscribed to the Google Groups
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.