CC: | DMUEY [...] cpan.org |
Subject: | bleadperl breaks Class::Std (forbids keywords as labels) |
As the subject says.
The relevant commits were 28ccebc469d90664106fcc1cb73d7321c4b60716
which shaped the new diagnostics message and
f71d6157c7933c0d3df645f0411d97d7e2b66b2f which outlawed reserved words
as keywords.
% grep -r INIT .
./lib/Class/Std.pm: INIT:
./lib/Class/Std.pm: next INIT if defined
$attr_ref->{ref}{$new_obj_id};
./lib/Class/Std.pm: next INIT;
./lib/Class/Std.pm: next INIT;
./blib/lib/Class/Std.pm: INIT:
./blib/lib/Class/Std.pm: next INIT if defined
$attr_ref->{ref}{$new_obj_id};
./blib/lib/Class/Std.pm: next INIT;
./blib/lib/Class/Std.pm: next INIT;
And the error message is now:
# Failed test 'use Class::Std;'
# at t/00.load.t line 4.
# Tried to use 'Class::Std'.
# Error: Can't use keyword 'INIT' as a label at
/home/sand/.cpan/build/Class-Std-0.0.9-Qm5vag/blib/lib/Class/Std.pm line
444.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
RT only showed DCONWAY as maintainer, so I manually added DMUEY into CC.
Let me know if there are open questions
Thanks,