Buddha Buck wrote:
> Personally, I'd rather save let for:
I appreciate the sentiment, but I believe it's misplaced
and unnecessary.
> (let ($x,$y,$z,...) = (1,2,3,...) in { FOO })
>
> which would be equivilant to:
>
> ((sub {my ($x,$y,$z,...) = @_; FOO })(1,2,3,...))
But it's also equivalent to
{
my ($x,$y,$z,...) = (1,2,3,...);
FOO
}
which is far clearer than either of the above syntaces.
--
John Porter
- Re: Exegesis2 and the "is" keyword Michael G Schwern
- Re: Exegesis2 and the "is" keyword Nathan Wiger
- Re: Exegesis2 and the "is" keyword Carl Johan Berglund
- Re: Exegesis2 and the "is" keyword Peter Scott
- Re: Exegesis2 and the "is" keyword Dan Schmidt
- Re: Exegesis2 and the "is" keyword Austin Hastings
- Re: Exegesis2 and the "is" keyword Buddha Buck
- Re: Exegesis2 and the "is" keyword Daniel S. Wilkerson
- Re: Exegesis2 and the "is" keyword Simon Cozens
- Re: Exegesis2 and the "is" keyword Dan Sugalski
- Re: Exegesis2 and the "is" keyword John Porter
- Re: Exegesis2 and the "is" keyword Larry Wall
