This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Porting/bench.pl ban duplicate labels in multiread
authorDavid Mitchell <davem@iabyn.com>
Mon, 19 Jun 2017 08:38:35 +0000 (09:38 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 21 Jun 2017 09:56:23 +0000 (10:56 +0100)
commit81cb9d799a02a8edb6b6ed4bab5c0837fcfbd749
tree1f51867df1191b95d248b98be6cb6b95bbcc9c1a
parent30792d9e2c2d792750dbd87fb3c97c6ae234b4be
Porting/bench.pl ban duplicate labels in multiread

With multiple --read options, die if the same label appears twice.

A duplicate between a --read file and on the command line was already
checked for, but not from two reads.

Also, improve the error messages.

Finally, regenerate the callsub2.json  test file using a './perl2' label
this time, so that both callsub.json and callsub2.json can still be read
without error.
Porting/bench.pl
t/porting/bench.t
t/porting/bench/callsub2.json