$mpfd = Mungo::MultipartFormData->new($req, $length, $boundary);

Parses the incoming content. $req should be an Apache2::RequestRec.