in reply to Re: Parse Puzzle
in thread Parse Puzzle

In scalar context, a list is the length of the list.
No. No. There's no such thing as a list in a scalar context. So there can't be a "rule" like this.

An operator has a "scalar definition" and a "list definition". The scalar definition for regex match is a boolean indicator. See my other post.

There are no "scalar definitions" which return a list. Period.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.