projects
/
gitmo/Role-Tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
add inlinability for Accessor.pm
[gitmo/Role-Tiny.git]
/
lib
/
Sub
/
Quote.pm
diff --git
a/lib/Sub/Quote.pm
b/lib/Sub/Quote.pm
index
2f6c463
..
5c34715
100644
(file)
--- a/
lib/Sub/Quote.pm
+++ b/
lib/Sub/Quote.pm
@@
-33,7
+33,7
@@
sub inlinify {
if ($code_args eq $args) {
$do.$body.' }'
} else {
- $do.'my '.$code_args.' = ('.$args.'); '.$body.' }';
+ $do.'my ('.$code_args.') = ('.$args.'); '.$body.' }';
}
} else {
$do.($local ? 'local ' : '').'@_ = ('.$args.'); '.$code.' }';