We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f966876 commit 0be88b2Copy full SHA for 0be88b2
1 file changed
lib/WWW/Mechanize.pm
@@ -1644,9 +1644,10 @@ sub form_action {
1644
my ( $self, $action ) = @_;
1645
1646
my $temp;
1647
- my @matches
1648
- = grep { defined( $temp = $_->action ) and ( $temp =~ m/$action/msx ) }
1649
- $self->forms;
+ my @matches = grep {
+ defined( $temp = $_->action )
+ and ( $temp =~ m/$action/msx )
1650
+ } $self->forms;
1651
1652
my $nmatches = @matches;
1653
if ( $nmatches > 0 ) {
0 commit comments