in reply to Re^5: There's scalar(), but no list(). Perl could need one for rare but reasonable use ("list")
in thread There's scalar(), but no list(). Perl could need one for rare but reasonable use

Thanks too, I see definitely clarity ahead. The last mile to understanding lists and why there is no dedicated operator to impose list context I will go on my own, since I do not want to suggest newbies, by defending and provoking confusion, more weirdness in the internals of my beloved Perl than there probably is. When I feel the need to impose list context explicitly, I'll consider first wantarray and take one of the expressions in the thread and add a comment on why.

Thanks a lot for your time and wisdom,
-- flowdy

  • Comment on Re^6: There's scalar(), but no list(). Perl could need one for rare but reasonable use ("list")
  • Download Code