>
> I've been thinking about that.  One interesting ramification of
> the current matching rule is that you could say either of:
>
>    "foo".io ~~ :r :x
>
> or
>
>    "foo" ~~ :io(:r :x)
>
> where .io is whatever your "casting" method of choice is for turning
> a string into an object with the correct methods.  Somehow I think
> .filename is a bit too long, huffmanwise.


If io is casting method, which statement below is correct:

say ok if "1234".io > 1000;

or

say ok if "1234".int >1000;

Reply via email to