This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Refactor B's o.t to use 'prog' and 'switches' with runperl(), not 'args'.
authorNicholas Clark <nick@ccl4.org>
Fri, 4 Feb 2011 20:19:36 +0000 (20:19 +0000)
committerNicholas Clark <nick@ccl4.org>
Fri, 4 Feb 2011 20:19:36 +0000 (20:19 +0000)
commitfbe521465f3f73ca77e746257b5cd6411086e960
treecc105e6c49c18d94429a962dc1913caa03d334d7
parent88c8c9616516015e2fe0b502cdb92dc4efcc0c10
Refactor B's o.t to use 'prog' and 'switches' with runperl(), not 'args'.

Previously it was using an array to hold the list of command line arguments,
between each test splicing the one element that actually changed, and then
passing the array to runperl, without an explicit program. Not the clearest of
approaches.
ext/B/t/o.t