Why not just install CGI and use its parsing?
In reply to Re: Perl parsing of multipart content by Corion in thread Perl parsing of multipart content by jeclark2006