I wanted to check out the Perlito Project, but I'm having trouble even getting started.
I installed the Perlito5 module through cpanm. It installed fine and all tests passed.
Now I'm trying to actually do something with it, and nothing seems to run. The example code at the start of Perlito5 POD doesn't compile for me. The perlito5 script that's installed doesn't run. I get these errors:
$ perlito5
String found where operator expected at /home/ah/.plenv/versions/5.28.0/lib/perl5/site_perl/5.28.0/Perlito5/Grammar/CORE.pm line 57, near "Perlito5::Compiler::error "No such class $type""
(Do you need to predeclare Perlito5::Compiler::error?)
String found where operator expected at /home/ah/.plenv/versions/5.28.0/lib/perl5/site_perl/5.28.0/Perlito5/Grammar/CORE.pm line 61, near "Perlito5::Compiler::error "No package name allowed for variable $var->{sigil}$var->{name} in \"$declarator\"""
(Do you need to predeclare Perlito5::Compiler::error?)
String found where operator expected at /home/ah/.plenv/versions/5.28.0/lib/perl5/site_perl/5.28.0/Perlito5/Grammar/CORE.pm line 84, near "Perlito5::Compiler::error "No such class $type""
...
I've tried multiple Perl 5 versions. Can anyone help me understand where to start?