![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: create search string from array elementsby friedo (Prior) |
on Jul 12, 2005 at 13:19 UTC ( #474270=note: print w/replies, xml ) | Need Help?? |
If you want to be clever you could make an alternating pattern from the list of dates:
But I have no idea if that would be faster or slower than just doing a nested loop. A nested loop at least gives you the option of skipping the remainder when you've found a match.
In Section
Seekers of Perl Wisdom
|
|