projects
/
perltidy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9666276
)
put sub process_command_line in a closure to hide its hash
author
Steve Hancock
<perltidy@users.sourceforge.net>
Mon, 16 Oct 2023 13:36:32 +0000
(06:36 -0700)
committer
Steve Hancock
<perltidy@users.sourceforge.net>
Mon, 16 Oct 2023 13:36:32 +0000
(06:36 -0700)
lib/Perl/Tidy.pm
patch
|
blob
|
history
diff --git
a/lib/Perl/Tidy.pm
b/lib/Perl/Tidy.pm
index 821d56ffcf0fe11238a1762e8891878c073c7fb3..02b9b607a6ac55627b575c6e5f26861d1c65e32b 100644
(file)
--- a/
lib/Perl/Tidy.pm
+++ b/
lib/Perl/Tidy.pm
@@
-4102,6
+4102,8
@@
q(wbb=% + - * / x != == >= <= =~ !~ < > | & = **= += *= &= <<= &&= -= /= |= >>=
} ## end sub generate_options
+{ #<<< closure process_command_line
+
# Memoize process_command_line. Given same @ARGV passed in, return same
# values and same @ARGV back.
# This patch was supplied by Jonathan Swartz Nov 2012 and significantly speeds
@@
-4136,6
+4138,7
@@
sub process_command_line {
return _process_command_line(@q);
}
} ## end sub process_command_line
+} ## end closure process_command_line
# (note the underscore here)
sub _process_command_line {