On Jul 12, 2009, at 12:07 AM, Chas. Owens wrote:
Since grep is defined as returning a list of matching elements and first is defined as being the same as grep, I would say that it returns an empty list
if nothing matches.  The empty list is one of the false values.

Does the empty list count as undefined for the purposes of //? Namely, does "(^5).first({ @data[$^i] == $something }) // -1" work as expected?

Given that it claims that $buf will will contain plain octets, $buf should
be a Buf8.

Then why is the type of $buf conspicuously absent from the method signature? It seems like there should be more to it than that.

-- Minimiscience

Reply via email to