On Tue, Aug 15, 2000 at 11:15:03PM -0700, Peter Scott wrote:
> No, || is half-consistent at the moment: the left hand side is forced into
> scalar context but the result context propagates down the right hand
> side. I challenge anyone to come up with a rationalization for this that
> does not invoke implementation expediency.
By extension with
$a = $a || "default";
you get
@a = @a || qw(default values);
- Damien
- RFC 82 (listops in list context) Nathan Torkington
- Re: RFC 82 (listops in list context) Jeremy Howard
- Re: RFC 82 (listops in list context) Peter Scott
- Re: RFC 82 (listops in list context) Damien Neil
- Re: RFC 82 (listops in list context) Nathan Torkington
- Re: RFC 82 (listops in list context) Chaim Frenkel
- Re: RFC 82 (listops in list context) Glenn Linderman
- Re: RFC 82 (listops in list context) Nathan Torkington
- Re: RFC 82 (listops in list context) Chaim Frenkel
- Re: RFC 82 (listops in list contex... Nathan Torkington
