Skip to content

Commit d09c251

Browse files
committed
Tidify lib/WWW/Mechanize.pm
1 parent cc936a0 commit d09c251

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/WWW/Mechanize.pm

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

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

17231722
my $nmatches = @matches;
17241723
if ( $nmatches > 0 ) {

0 commit comments

Comments
 (0)