This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Deparse: handle some strong keywords better
authorDavid Mitchell <davem@iabyn.com>
Tue, 9 Oct 2012 14:50:12 +0000 (15:50 +0100)
committerDavid Mitchell <davem@iabyn.com>
Wed, 10 Oct 2012 15:39:21 +0000 (16:39 +0100)
commit3ac5308ab39749a39e7bc0b3c492597ed2a8bd2f
treee6a16374d7e9fa5bedd172fd3f7270ba4cb6f743
parentca3319858bbce2cc97800745a8a871cd3cab6a87
Deparse: handle some strong keywords better

In general, a strong keyword 'foo' will get deparsed as plain 'foo'
rather than 'CORE::foo', even in the presence of a sub foo{}.
However, these weren't:
    glob
    pos
    prototype
    scalar
    study
    undef

This was due to them having prototypes.
dist/B-Deparse/Deparse.pm