MIME::Expander::Plugin::ApplicationBzip2 - a plugin for MIME::Expander
my $expander = MIME::Expander::Plugin::ApplicationBzip2->new; $expander->expand(\$data, sub { my $ref_expanded_data = shift; my $metadata = shift || {}; print $metadata->{content_type}, "\n"; print $metadata->{filename}, "\n"; });
Expand data that media type is "application/bzip2" or "application/x-bzip2".
MIME::Expander::Plugin
IO::Uncompress::Bunzip2
To install MIME::Expander, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MIME::Expander
CPAN shell
perl -MCPAN -e shell install MIME::Expander
For more information on module installation, please visit the detailed CPAN module installation guide.