in reply to Better way to perform "double split" ?
Is it a requirement that you have stored your table in a scalar? If, for instance, you get it from a `external command`, and you know that the date line is always the last, you could store it into an @array instead and use [-1] to extract the last line, without splitting.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Better way to perform "double split" ?
by perlpal (Scribe) on Nov 10, 2009 at 10:15 UTC | |
by rovf (Priest) on Nov 10, 2009 at 11:21 UTC |