http://www.perlmonks.org?node_id=1016890


in reply to Re^5: Using grep and glob to find directories containing file
in thread Using grep and glob to find directories containing file

That's not a list

Are you sure? "Learning Perl 6th ed", p. 46 says:

A list literal (the way you represent a list value within your program) is a list of comma- separated values enclosed in parentheses. These values form the elements of the list. For example:

(1, 2, 3) # list of three values 1, 2, and 3

This behaviour is documented (see the link I gave)

…which says:

Binary "," is the comma operator…

In list context, it's just the list argument separator, and inserts both its arguments into the list.

  • Comment on Re^6: Using grep and glob to find directories containing file

Replies are listed 'Best First'.
Re^7: Using grep and glob to find directories containing file (clap)
by Anonymous Monk on Feb 04, 2013 at 04:06 UTC