develooper Front page | perl.perl6.language | Postings from July 2006

Re: Run time dispatch on ~~

Thread Previous
July 14, 2006 13:17
Re: Run time dispatch on ~~
Message ID:
Larry Wall schreef:
> Dr.Ruud:
>> Aaron Sherman:

>>>  $_ ~~ $x
>> Can that be written as ".~~ $x"?
> No, but you might just possibly get away with writing:
>     .infix:<~~>($x)
> assuming that the $$x) SMD eventually fails over to foo($_,$x)
> MMD. But that doesn't seem to be much of an improvement over "when
> $x".

OK, thanks. Is it ever useful for an SMD to fail over to MMD?

Affijn, Ruud

"Gewoon is een tijger."

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About