This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Make expand-macro.pl accept macro expressions, i.e. macros with
authorMarcus Holland-Moritz <mhx-perl@gmx.net>
Sun, 12 Oct 2008 02:51:44 +0000 (02:51 +0000)
committerMarcus Holland-Moritz <mhx-perl@gmx.net>
Sun, 12 Oct 2008 02:51:44 +0000 (02:51 +0000)
commitd5f3326709737080f113937629ab2010559f0729
tree8cb26289dd8043883f66f85a7dd0dc41c454a5c8
parentbe4f373d52665c10481b8bb9351422b96274c44c
Make expand-macro.pl accept macro expressions, i.e. macros with
arguments. This makes it much more convenient to get expanded
expressions that can be directly copied to a debugger. This is
optional, so the original behaviour is maintained. Allow to read
the macro name or expression from stdin, which can be useful for
feeding it multi-line macro expressions. Use Pod::Usage and move
the usage to POD section.

p4raw-id: //depot/perl@34474
Porting/expand-macro.pl