#!/s/perl-5.24.0/amd64_ubu14/bin/perl -w

use Data::Stag qw(:all);
use Data::Stag::ITextParser;
use Data::Stag::Simple;
use Data::Stag::Base;
my $p = Data::Stag::ITextParser->new;
my $h = Data::Stag::Simple->new;
#my $h = Data::Stag::XMLWriter->new;
$p->handler($h);
foreach my $f (@ARGV) {
    $p->parse($f);
}

__END__

=head1 NAME

stag-itext2simple - converts between stag formats

=head1 DESCRIPTION

Converts from itext to simple format.

=head1 SEE ALSO

L<Data::Stag>

=cut
