aaAzhyd has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (files)
and i have tried messing around with the regular expresion with no luck ..open (LOG,"Messages.log"); while (<LOG>){ $string .= $_; } @array = split(/^\s*$/, $string);
Originally posted as a Categorized Question.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I split a file into an array using blank lines as delimiter⭐
by davorg (Chancellor) on Dec 18, 2000 at 22:41 UTC | |
|
Re: How do I split a file into an array using blank lines as delimiter
by dsb (Chaplain) on Jan 24, 2001 at 20:06 UTC |