Subject: | Compilation failure t/dump.pl in t/t04tie.t |
I started playing around with cperl this weekend. When I tried to install Clone::PP, I received the following error:
t/04tie.t ..... 1/5 Illegal declaration of subroutine dump::main at ./t/dump.pl line 30.
Compilation failed in require at t/04tie.t line 19.
The offending line is:
sub main'dump {
I modified it to read:
sub main::dump {
And all test completed successfully.
I am not familiar with the syntax in the original statement. I'm guessing that this is a legacy "feature" for which support was removed from cperl.
Machine information:
-Mac: High Sierra ( Darwin xyz.online.com 17.5.0 Darwin Kernel Version 17.5.0: Mon Mar 5 22:24:32 PST 2018; root:xnu-4570.51.1~1/RELEASE_X86_64 x86_64)
-cperl 5.26.2