Path::Dispatcher::Rule::Eq - predicate is a string equality
my $rule = Path::Dispatcher::Rule::Eq->new( string => 'comment', block => sub { display_comment(shift->pos(1)) }, );
Rules of this class simply check whether the string is equal to the path.
To install Path::Dispatcher, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Path::Dispatcher
CPAN shell
perl -MCPAN -e shell install Path::Dispatcher
For more information on module installation, please visit the detailed CPAN module installation guide.