This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In makedef.pl, readvar now returns a list, not an array reference.
authorNicholas Clark <nick@ccl4.org>
Mon, 25 Jul 2011 20:59:30 +0000 (22:59 +0200)
committerNicholas Clark <nick@ccl4.org>
Mon, 1 Aug 2011 09:53:54 +0000 (11:53 +0200)
commitac8f35e5146a73901f4984e59f2037bb8517ed9c
tree7222d7ead8ee891101d5b202457a06c83fff8b50
parentbf09e1bdfd80fb7c798423e424afade62b25d72f
In makedef.pl, readvar now returns a list, not an array reference.

Convert it from a loop to a map. Refactor its callers to use its results
directly, instead of assigning to a lexical variable which is used only once.
makedef.pl