split takes a regex, thus this is fairly easy.
@info = split /\n(?!\[)/, $filecontents;
In reply to Re: Trying to split a file into array conditionally
by bart
in thread Trying to split a file into array conditionally
by bobg2011
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |