On Fri, Nov 18, 2005 at 12:12:02PM +0100, TSa wrote: : I hope all these are now the same: : : foo => bar ; # result of evaluating bar available under foo key : :foo( bar ); : :foo bar ; # does that exist?
No. :foo with trailing whitespace is taken to mean :foo(1), so the "bar" would be parsed with the expectation that it's an operator, not a term. And much though certain people might like one, I don't think there's currently a "bar" operator in Perl. Larry