develooper Front page | perl.perl5.porters | Postings from October 2003

Re: a strange $_ "mis"-behavior in map

Thread Previous | Thread Next
From:
Stas Bekman
Date:
October 9, 2003 13:37
Subject:
Re: a strange $_ "mis"-behavior in map
Message ID:
3F85C6DD.9090408@stason.org
Yitzchak Scott-Thoennes wrote:
> On Thu, Oct 09, 2003 at 12:29:30AM -0700, Stas Bekman <stas@stason.org> wrote:
> 
>>map {          "$_" => 1  } (a..c);
>>
>>the first three lines are fine, the fourth produces an error:
>>
>>  syntax error at /tmp/oops line 4, near "} ("
[...]
> See perldoc -f map:

Oops, RTFM, Stas!

Thanks Yitzchak and Rafael!

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About