App::BatParser - Parse DOS .bat and .cmd files
version 0.009
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
- Toby Inkster tobyink@cpan.org
- juanradiego kilaweo@gmail.com