This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deparse: handle system/exec prog arg,arg,,..
authorDavid Mitchell <davem@iabyn.com>
Tue, 9 Oct 2012 16:12:09 +0000 (17:12 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 10 Oct 2012 15:39:21 +0000 (16:39 +0100)
commit327088eb578a0735092b848475594c9f76cc4945
tree1493deb9fa73a29531a44803a055aec7caa8928c
parent6d08f7b3ce620464fc90c69d034fd4a407ea3341
Deparse: handle system/exec prog arg,arg,,..

Deparse wasn't handling the form of system and exec where
the extra first arg (without comma) gave the program name.

These now deparse ok, without an additional comma:

    system $prog $arg1,$arg2;
    exec   $prog $arg1,$arg2;
dist/B-Deparse/Deparse.pm