App::BatParser - Parse DOS .bat and .cmd files
version 0.011
Parse DOS .bat and .cmd files
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));
Returns the Regexp::Grammars's grammar
Parses the text as a bat/cmd file
Hash representation of file on success, empty list on fail
Pablo Rodríguez González <pablo.rodriguez.gonzalez@gmail.com>
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.
eva.dominguez <eva.dominguez@meteologica.com>
juanradiego <kilaweo@gmail.com>
Toby Inkster <tobyink@cpan.org>
To install App::BatParser, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::BatParser
CPAN shell
perl -MCPAN -e shell install App::BatParser
For more information on module installation, please visit the detailed CPAN module installation guide.