The util/update-rule-pmc script is used to generate lib/Pugs/Grammar/Rule.pmc from this file. This script does the following: Use v6.pm to compile this file and post-process it after compiling: - remove all references to: Data::Bind - replace the header with: package Pugs::Grammar::Rule; use utf8; no strict 'refs'; use Pugs::Runtime::Match; use Pugs::Runtime::Regex; The post-processing thing is done by the Perl 5 script util/patch-rule-pmc.pl
To install Pugs::Compiler::Rule, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pugs::Compiler::Rule
CPAN shell
perl -MCPAN -e shell install Pugs::Compiler::Rule
For more information on module installation, please visit the detailed CPAN module installation guide.