in reply to Re^9: If you believe in Lists in Scalar Context, Clap your Hands
in thread If you believe in Lists in Scalar Context, Clap your Hands
Now try and replace all the information conveyed by the use of the word 'list' in the following sentence from perlsub, with the one or two dozen diagrams like the above, it would take to replace that one word.
If you return one or more aggregates (arrays and hashes), these will be flattened together into one large indistinguishable list.
The only purpose served by the "there's no such thing as a list in a scalar context" meme, is the promotion of one person's intimate knowledge of perl's internals over another's lack thereof; or lack of interest in same.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^11: If you believe in Lists in Scalar Context, Clap your Hands
by ikegami (Patriarch) on Oct 24, 2008 at 20:24 UTC | |
by BrowserUk (Patriarch) on Oct 24, 2008 at 20:45 UTC | |
by ikegami (Patriarch) on Oct 24, 2008 at 21:30 UTC |