App-winmaildat2tar

 view release on metacpan or  search on metacpan

lib/App/winmaildat2tar.pm  view on Meta::CPAN

    has verbose => 'v   ' , is => 'ro';

    has help    => 'h',
	action  => sub { pod2usage -verbose => 99, -sections => [ qw(SYNOPSIS VERSION) ] };
    has version => ' ',
	action  => sub { say $VERSION; exit };
}
no  Getopt::EX::Hashed;

sub run {
    (my $app, local @ARGV) = splice @_;
    $app->getopt or pod2usage();

    my $archive;

    @ARGV or usage();
    for my $file (@ARGV) {
	use Convert::TNEF;
	my $tnef = Convert::TNEF->read_in($file, { output_to_core => 'ALL' })
	    or die $Convert::TNEF::errstr;
	my @attachments = $tnef->attachments or do {

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.333 second using v1.00-cache-2.02-grep-82fe00e-cpan-da92000dfeb )