Subject: | Order dependent translation can create illegal syntax |
Running PostfixDeref and CoreSignatures on the following
sub( $exe ) { }
Produces illegal syntax if PostfixDeref is run first
% echo 'sub( $exe ) { }' | perl -X -MBabble::Filter=::PostfixDeref,::CoreSignatures -0777 -pe babble
sub { my ((map {$_}, $exe)) = @_; }
But produces correct syntax if CoreSignatures is run first:
% echo 'sub( $exe ) { }' | perl -MBabble::Filter=::CoreSignatures,::PostfixDeref -0777 -pe babble
sub { my ($exe ) = @_; }