Larry Wall skribis 2004-09-01 8:02 (-0700): > : $x.transform.(); > That might not work either. This will, though: > ($x.transform)();
This is surprising. Can you please explain why .() won't work? I have methods return subs quite often, and like that I can just attach ->() to it to make them work for me. I dislike parens. If $object.method.() will really not work, is there a way to call it without adding parens? Adding parens for someone who doesn't plan an entire line of code before typing it, means going back (for me, this is the most important reason for using statement modifiers; it's not just linguistically pleasing). Juerd