On Tue, Jun 30, 2009 at 4:55 AM, Brandon S. Allbery
KF8NH<allb...@ece.cmu.edu> wrote:
> I thought unary + was scalar/item? context in perl6, not numify.

 + is numeric context - which is one of several subtypes of item
context. Generic item context is item();  + numifies;  ? boolifies; ~
stringifies.

I'm guessing you saw + used to get the length of an array, and that's
where you got that it's equivalent to P5 scalar().

--
Mark J. Reed <markjr...@gmail.com>

Reply via email to