Though somewhat confused, like
btrott, I think what you're
asking is how to handle a file-upload in Perl.
See
this node, for an explanation on how to do this.
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
used as the filename to avoid having duplicates.
-- ar0n