Parse::Token::Lite::Builder - DSL for Parse::Token::Lite
version 0.200
use Parse::Token::Lite; use Parse::Token::Lite::Builder; use Data::Printer; use Data::Dumper; my $ruleset = ruleset{ match qr/123/ => sub{ name 'BEGIN'; start 'TEST'; }; on 'TEST' => sub{ match qr/567/ => sub{ name 'END'; end 'TEST'; }; match qr/./ => sub{ name 'NUM'; }; }; };
khs <sng2nara@gmail.com>
This software is copyright (c) 2013 by khs.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Parse::Token::Lite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Parse::Token::Lite
CPAN shell
perl -MCPAN -e shell install Parse::Token::Lite
For more information on module installation, please visit the detailed CPAN module installation guide.