Subject: | Remove dependency on 'aliased' |
The 'aliased' module is only used by H::F::Field::Repeatable and then
only once. Since it's not listed as a dependency, the reference should
be removed.
Patch included.
Subject: | remove-aliased.patch |
--- HTML/FormHandler/Field/Repeatable.pm.old 2009-12-03 13:48:22.000000000 -0800
+++ HTML/FormHandler/Field/Repeatable.pm 2009-12-03 13:48:56.000000000 -0800
@@ -3,7 +3,7 @@
use Moose;
extends 'HTML::FormHandler::Field::Compound';
-use aliased 'HTML::FormHandler::Field::Repeatable::Instance';
+use 'HTML::FormHandler::Field::Repeatable::Instance';
=head1 NAME
@@ -154,7 +154,7 @@
sub create_element {
my ($self) = @_;
- my $instance = Instance->new
+ my $instance = HTML::FormHandler::Field::Repeatable::Instance->new(
name => 'contains',
parent => $self,
form => $self->form