Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Re: Re: Re: Re: TIMTOWTDI and other languages
by TheDamian
|
|