in reply to Irregular Expressions
Try my @lines = split(/\n/, $quotaOutput);
perldoc -f split for more info. This'll get you a nice list with each line in a separate element, so you can throw lines away or handle them separately. To go back to a string when you're done, use join.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Irregular Expressions
by JoeJaz (Monk) on Jun 17, 2003 at 16:30 UTC |