On Thu Jan 26 11:40:59 2012, ikegami@adaelis.com wrote: > This is a bug report for perl from ikegami@adaelis.com, > generated with the help of perlbug 1.39 running under perl 5.14.0. > > > ----------------------------------------------------------------- > [Please describe your issue here] > > $ perl -we'sub foo(_@) {}' > Illegal character after '_' in prototype for main::foo : _@ at -e line > 1. > > $ perl -we'sub foo(_;@) {}' > > $ perl -we'sub foo(_%) {}' > Illegal character after '_' in prototype for main::foo : _% at -e line > 1. > > $ perl -we'sub foo(_;%) {}' > > $ > > I don't see why "and 0 or more arguments" is treated differently than > "and > optionally 0 or more arguments". If we allow _@, then it becomes more complicated to explain why _$ is not allowed. -- Father Chrysostomos --- via perlbug: queue: perl5 status: new https://rt.perl.org:443/rt3/Ticket/Display.html?id=109132Thread Next