App-PYX2XML
view release on metacpan or search on metacpan
print STDERR "\t-s no_simple\tList of element, which cannot be a simple".
" like <element/>. Separator is comma.\n";
print STDERR "\t--version\tPrint version.\n";
print STDERR "\t[filename]\tProcess on filename\n";
print STDERR "\t[-]\t\tProcess on stdin\n";
return 1;
}
$self->{'_filename_or_stdin'} = $ARGV[0];
# No simple elements.
my @no_simple = split m/,/ms, $self->{'_opts'}->{'s'};
# Tags object.
my $tags;
my %params = (
'no_simple' => \@no_simple,
'output_handler' => \*STDOUT,
'xml' => 1,
);
if ($self->{'_opts'}->{'i'}) {
$tags = Tags::Output::Indent->new(%params);
( run in 0.932 second using v1.01-cache-2.11-cpan-0c5ce583b80 )