while(<fp>) { s/\(/\n\(\n/g; s/\)/\n\)\n/g; my $line = join "\n", map { # do stuff to individual line at $_ } split /\n/, $_; # save line to array, possibly? }
In reply to Re: When One Line Becomes Three
by Masem
in thread When One Line Becomes Three
by JojoLinkyBob
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |