Skip Menu |

This queue is for tickets about the Babble CPAN distribution.

Report information
The Basics
Id: 132727
Status: new
Priority: 0/
Queue: Babble

People
Owner: Nobody in particular
Requestors: djerius [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.090007
Fixed in: (no value)



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 ) = @_; }
On Thu May 28 15:06:08 2020, DJERIUS wrote: Show quoted text
> 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 ) = @_; }
seems to be fixed by https://github.com/shadow-dot-cat/Babble/pull/3