> What am I doing wrong?
Sounds like you need to define (or at least declare) the new operator
before you use it. Perl 6, like Perl 5 compiles with a single pass, so
when you are using your random operator, it hasn't yet read the
declaration further down the file.

It does its best to DTRT with most functions, but when you're defining
arbitrarily random operators, it can only be so clever.

Sufficiently advanced humour is indistinguishable from tedium.
Humour distinguishable from tedium is insufficiently advanced.
http://surreal.istic.org/           Hack code until it works, then stop.

Attachment: pgpvoliG9dy3X.pgp
Description: PGP signature

Reply via email to