Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Trying to split a file into array conditionallyby bart (Canon) |
on Nov 15, 2011 at 12:04 UTC ( [id://938152]=note: print w/replies, xml ) | Need Help?? |
Perhaps you could only split where the next line doesn't start with an opening square bracket?
split takes a regex, thus this is fairly easy.
In Section
Seekers of Perl Wisdom
|
|