8 if(not $outputdir = shift @ARGV or $outputdir eq '--help') { die "Usage: $0 [directoy to save] [files...]\n"; }
9 die "Directory is not writable: $outputdir\n" if ! -w
$outputdir;
11 $parser = new MIME
::Parser
;
12 $parser->output_dir($outputdir);
15 for my $filename (@ARGV)
17 $entity = $parser->parse_open($filename);
18 $entity->dump_skeleton;
28 mime_extract - Extract parts from a MIME multipart file and save them into separate files