Do you know where your variables are? | |
PerlMonks |
(SOLVED) parsing problems with prototype blocks (precedence)by LanX (Saint) |
on Nov 03, 2021 at 12:48 UTC ( [id://11138374]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
Hi I was expecting that a prototype sub foo(&) will parse foo {$x} with precedence foo(sub {$x}) but ...
what is happening here? Is that a bug or a feature?
Cheers Rolf update: s/d/foo/
updatethat's unfortunate, prototypes don't seem to influence precedence at all ... :/
Back to
Seekers of Perl Wisdom
|
|