Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: map to hash of arraysby emilford (Friar) |
on Jul 27, 2004 at 13:51 UTC ( [id://377732]=note: print w/replies, xml ) | Need Help?? |
That worked perfectly, thanks. So is the regex treating the data read in as a single string? There are line breaks, which I thought would require the /m modifier to get away with something like this. I understand the [^:]+ part that continues matching on anything that is not a :, but I thought the regex would end at the first line break?
In Section
Seekers of Perl Wisdom
|
|