in reply to Re^3: tied, or modified?
in thread tied, or modified?
I had assumed from the (ahem) reference to reference constructors that tie was gobbling up the sub {} before ->() could get at it, but that's obviously not the case. So: Since they deparse identically, why do tied sub {}->() and tied( sub {}->() ) give different error messages?$ perl -MO=Deparse,-p -e 'tied sub {}->()' tied({sub { } }->()); -e syntax OK
|
|---|