HTTP::Body::Builder::MultiPart - multipart/form-data
use HTTP::Body::Builder::MultiPart; my $builder = HTTP::Body::Builder::MultiPart->new(); $builder->add('x' => 'y'); $builder->as_string; # => x=y
Create new instance of HTTP::Body::Builder::MultiPart.
Add new parameter in raw string.
Add $real_file_name
as $key
.
Generate body as string.
Write the content to $filename
.