Skip to content

Commit 9417409

Browse files
committed
perltidy
1 parent 47fd0c0 commit 9417409

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

lib/WWW/Mechanize.pm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,9 +1715,10 @@ sub form_action {
17151715
my ( $self, $action ) = @_;
17161716

17171717
my $temp;
1718-
my @matches
1719-
= grep { defined( $temp = $_->action ) and ( $temp =~ m/$action/msx ) }
1720-
$self->forms;
1718+
my @matches = grep {
1719+
defined( $temp = $_->action )
1720+
and ( $temp =~ m/$action/msx )
1721+
} $self->forms;
17211722

17221723
my $nmatches = @matches;
17231724
if ( $nmatches > 0 ) {

0 commit comments

Comments
 (0)