Skip Menu |

This queue is for tickets about the MooseX-StrictConstructor CPAN distribution.

Report information
The Basics
Id: 34507
Status: resolved
Priority: 0/
Queue: MooseX-StrictConstructor

People
Owner: Nobody in particular
Requestors: mst [...] shadowcat.co.uk
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 0.05



Subject: failure to check init_arg
Date: Fri, 28 Mar 2008 18:07:33 +0000
To: bug-MooseX-StrictConstructor [...] rt.cpan.org
From: Matt S Trout <mst [...] shadowcat.co.uk>
my %attrs = map { $_->name() => 1 } $self->meta()->compute_all_applicable_attributes(); my @bad = sort grep { ! $attrs{$_} } keys %{ $params }; has 'foo' => (init_arg => 'bar'); MyClass->new(bar => 2); -- Matt S Trout Need help with your Catalyst or DBIx::Class project? Technical Director http://www.shadowcat.co.uk/catalyst/ Shadowcat Systems Ltd. Want a managed development or deployment platform? http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/