in reply to
Re^4: Improve foreach with help of map?
in thread
Improve foreach with help of map?
I just gave basically the same solution. The difference it that mine works ;) You'll need two fixes to make yours work:
Use the /
s
modifier. /
.
/ needs to match newline.
Change /
.*
/ to /
.*?
/. You want to next date, not the last date.
Comment on
Re^5: Improve foreach with help of map?
Select
or
Download
Code
In Section
Seekers of Perl Wisdom