&& is not an lvalue
- From: xhoster@xxxxxxxxx
- Date: 31 Jul 2008 19:14:06 GMT
It seems like almost everything in Perl is an lvalue. So why isn't the
result of && an lvalue?
I wanted to do this:
($h{$big}{$nasty}[$dereferencing]{operation($x)}{$done}[here(y)]and die)=6;
Obviously, that just isn't the way perl was implemented. But is there a
reason that "?:" yields an lvalue but && doesn't?
Thanks,
Xho
--
-------------------- http://NewsReader.Com/ --------------------
The costs of publication of this article were defrayed in part by the
payment of page charges. This article must therefore be hereby marked
advertisement in accordance with 18 U.S.C. Section 1734 solely to indicate
this fact.
.
- Prev by Date: FAQ 4.23 How do I find matching/nesting anything?
- Next by Date: Japanese Girl > Haruna Yabuki
- Previous by thread: FAQ 4.23 How do I find matching/nesting anything?
- Next by thread: Japanese Girl > Haruna Yabuki
- Index(es):
Relevant Pages
|