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