asking is how to handle a file-upload in Perl.
You could save the picture itself in a MySQL table as a BLOB.
An IMHO better idea would be to save the picture with a random key for a filename
in some directory. Perhaps an MD5::Digest of the picture could be