On Tue, Feb 26, 2002 at 01:26:41PM -0800, Austin Hastings wrote: > > Possibility B- when-blocks accept a -> operator, which if used "naked" > binds the current localizer to $_.
I think if I had a choice between
given $y -> $x {
when /a/ -> {...}
when /b/ -> {...}
...
}
and
given $y {
when /a/ {...}
when /b/ {...}
...
}
I'd always prefer the second. Re-aliasing the aliased variable for every
when block doesn't quite seem worth the effort.
Allison
