Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 52409
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

People
Owner: Nobody in particular
Requestors: perl [...] tcbmi.com
Cc:
AdminCc:

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



Subject: Remove dependency on 'aliased'
Download (untitled) / with headers
text/plain 171b
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
From: perl [...] tcbmi.com
Fixed typo in the 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
'aliased' was added as a dependency in the latest (0.29) release.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.