This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In buildtoc, convert all the do_* functions to taking 2 scalars.
authorNicholas Clark <nick@ccl4.org>
Sat, 22 Jan 2011 11:05:08 +0000 (11:05 +0000)
committerNicholas Clark <nick@ccl4.org>
Sat, 22 Jan 2011 11:05:08 +0000 (11:05 +0000)
commit131a60d2ef4d332f96b21b25750c5ff51de2a0c5
tree8dc6b5e7aa7e72af1d902bc12e102d6bd2c3005b
parent453d7764356dcad2d69b9e667e7a7a2485729545
In buildtoc, convert all the do_* functions to taking 2 scalars.

Previously they took a list of lines from the file, and all except
do_manifest() immediately joined it back to a single scalar. Instead, slurp
the file in whole, and do_manifest() split it out.

Also, change the code that invokes do_* to accept only a scalar as a return,
now that all functions return a scalar, rather than (potentially) a list to
join.
pod/buildtoc