scripts/misc/dump-mime-parts.pl

10 lines
179 B
Perl
Raw Permalink Normal View History

#!/usr/bin/perl
use MIME::Parser;
my $parser = new MIME::Parser;
$parser->output_under(".");
$entity = $parser->parse(\*STDIN) or die "parse failed";
$entity->dump_skeleton();