On Wed, Nov 30, 2011 at 6:36 PM, Aristotle Pagaltzis <pagaltzis@gmx.de> wrote: > * David Nicol <davidnicol@gmail.com> [2011-11-30 22:50]: >> if a reference to something that doesn't exist didn't autoviv it, and >> was false in boolean context, and we allowed L-valuereferences, this >> would almost work: > > So… if only Perl was some radically different language then it would let > us do something… else than what we wanted? ha ha. By introducing a dummy variable to do the copying, EXPR \\= VALUE could expand to \EXPR ||= \do { my $dummy = VALUE}. My point, aside from beating the dead horse of L-value references, which confuses everyone but the subset of C++ programmers who think C++ references are the bee's knees, and all the use cases seem to be covered by Data::Alias anyway, was supposed to be, "here's another reason that \\ makes sense as how to spell exists-or." -- Application of Porter's value chain model to the executive function reveals that the executive process transforms the input of information into the output of decisions.Thread Previous | Thread Next