Re: Closure vs Hash Parsing

2008-08-11 Thread Ron
On 10 Aug., 00:58, [EMAIL PROTECTED] (Patrick R. Michaud) wrote: On Fri, Aug 08, 2008 at 07:32:52AM +0200, Carl Mäsak wrote: Jonathan (): That this means the { $_ = uc $_; } above would end up composing a Hash object (unless the semicolon is meant to throw a spanner in the

Re: Closure vs Hash Parsing

2008-08-09 Thread Patrick R. Michaud
On Fri, Aug 08, 2008 at 07:32:52AM +0200, Carl Mäsak wrote: Jonathan (): That this means the { $_ = uc $_; } above would end up composing a Hash object (unless the semicolon is meant to throw a spanner in the hash-composer works?) It says you can use sub to disambiguate, but %ret = map

Re: Closure vs Hash Parsing

2008-08-07 Thread Carl Mäsak
Jonathan (): That this means the { $_ = uc $_; } above would end up composing a Hash object (unless the semicolon is meant to throw a spanner in the hash-composer works?) It says you can use sub to disambiguate, but %ret = map sub { $_ = uc $_; }, split , $text; Doesn't work since $_ isn't