Skip Menu |

This queue is for tickets about the Class-Std CPAN distribution.

Report information
The Basics
Id: 52885
Status: resolved
Priority: 0/
Queue: Class-Std

People
Owner: Nobody in particular
Requestors: ANDK [...] cpan.org
Cc: dmuey [...] cpan.org
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.0.9
Fixed in: 0.011



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,
Subject: Re: [rt.cpan.org #52885] bleadperl breaks Class::Std (forbids keywords as labels)
Date: Mon, 21 Dec 2009 11:32:07 +1100
To: bug-Class-Std [...] rt.cpan.org
From: Damian Conway <damian [...] conway.org>
Many thanks, Andreas. I will update accordingly. Damian