go ahead... be a heretic | |
PerlMonks |
Re^2: File Searchingby Anno (Deacon) |
on Sep 13, 2007 at 18:22 UTC ( [id://638873]=note: print w/replies, xml ) | Need Help?? |
I agree with the split solution. To make it a little more robust, I'd make spaces around "|" optional (instead of requiring at least one on each side), and give split a limit of 2, so that the text can be allowed to contain "|". Thus:
Anno
In Section
Seekers of Perl Wisdom
|
|