/usr/share/perl5/Catalyst/Controller/HTML/FormFu/Action/MultiForm.pm is in libcatalyst-controller-html-formfu-perl 1.00-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | package Catalyst::Controller::HTML::FormFu::Action::MultiForm;
{
$Catalyst::Controller::HTML::FormFu::Action::MultiForm::VERSION = '1.00';
}
use strict;
use warnings;
use base qw( Catalyst::Controller::HTML::FormFu::ActionBase::Form );
use Config::Any;
sub execute {
my $self = shift;
my ( $controller, $c ) = @_;
if ( $self->reverse =~ $self->_form_action_regex ) {
# don't load form again
return $self->next::method(@_);
}
my $config = $controller->_html_formfu_config;
return $self->next::method(@_)
unless exists $self->attributes->{ActionClass}
&& $self->attributes->{ActionClass}[0] eq
$config->{multiform_action};
my $multi = $controller->_multiform;
$multi->process;
$c->stash->{ $config->{multiform_stash} } = $multi;
$c->stash->{ $config->{form_stash} } = $multi->current_form;
$self->next::method(@_);
}
1;
|