Skip to content

Commit 064261c

Browse files
committed
Remove superfluous variable copy
1 parent b9d6c03 commit 064261c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Changes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ Change history for HTML-Form
55
- Replace "use vars" with "our" (GH#34) (James Raspass)
66
- Remove superfluous "use lib" (GH#35) (James Raspass)
77
- Replace "Test" with "Test::More" (GH#36) (James Raspass)
8+
- Remove superfluous variable copy (GH#37) (James Raspass)
89

910
6.08 2022-08-14 09:26:10Z
1011
- Remove Authority section from dist.ini (GH#27) (Olaf Alders)

lib/HTML/Form.pm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,8 +397,7 @@ charset as specified by the 'charset' parameter of the parse() method.
397397

398398
BEGIN {
399399
# Set up some accessors
400-
for (qw(method action enctype accept_charset)) {
401-
my $m = $_;
400+
for my $m (qw(method action enctype accept_charset)) {
402401
no strict 'refs';
403402
*{$m} = sub {
404403
my $self = shift;

0 commit comments

Comments
 (0)