Yes, thanks for clarifying the output. that was something I could not parse from the discription given in the original problem.
So take my original suggestion and instead of the if statement looking like I suggested make the print portion be print "\n$_\n\n" if (same as code given).
In reply to Re^4: regexp look behind?
by raybies
in thread regexp look behind?
by dbs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |