App-BatParser
view release on metacpan or search on metacpan
lib/App/BatParser.pm view on Meta::CPAN
=pod
=encoding utf-8
=head1 NAME
App::BatParser - Parse DOS .bat and .cmd files
=head1 VERSION
version 0.011
=head1 DESCRIPTION
Parse DOS .bat and .cmd files
=head1 SYNOPSYS
use App::BatParser;
use Path::Tiny;
use Data::Dumper;
my $parser = App::BatParser->new;
my $bat_string = Path::Tiny::path('t/cmd/simple.cmd')->slurp;
say Dumper($parser->parse($bat_string));
=head1 METHODS
=head2 grammar
Returns the L<Regexp::Grammars>'s grammar
=head2 parse
Parses the text as a bat/cmd file
=head3 Returns
Hash representation of file on success, empty list on fail
=head1 AUTHOR
Pablo RodrÃguez González <pablo.rodriguez.gonzalez@gmail.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Pablo RodrÃguez González.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=head1 CONTRIBUTORS
=for stopwords eva.dominguez juanradiego Toby Inkster
=over 4
=item *
eva.dominguez <eva.dominguez@meteologica.com>
=item *
juanradiego <kilaweo@gmail.com>
=item *
Toby Inkster <tobyink@cpan.org>
=back
=cut
( run in 0.831 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )