|
|
| No such thing as a small change | |
| PerlMonks |
Re: Re: Re: Re: Re: TIMTOWTDI and other languagesby TheDamian (Priest) |
| on Apr 30, 2002 at 04:08 UTC ( #162992=note: print w/ replies, xml ) | Need Help?? |
|
The example would work in Perl 6. It would also scale a little better than nested loops since =~ on an array will short-circuit on finding any match in the array. Of course, Perl 6 may also have superpositions natively, in which case the problem might be solvable in constant time (on the right hardware ;-)
In Section
Meditations
|
|
||||||||||||||||||||