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.
$real_file_name
$key
Generate body as string.
Write the content to $filename.
$filename
To install HTTP::Body::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTTP::Body::Builder
CPAN shell
perl -MCPAN -e shell install HTTP::Body::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.