in reply to split ignores "fields"
The fine documentation has an example that uses split /someregex/, $string, -1 to preserve empty trailing fields.
If I understood your question correctly, that's what you are looking for.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: split ignores "fields"
by conversecorollary (Novice) on Jun 09, 2011 at 13:44 UTC |