XP is just a number | |
PerlMonks |
Re^2: getting a sequence of numbers and letersby Marshall (Canon) |
on Mar 24, 2020 at 18:21 UTC ( [id://11114607]=note: print w/replies, xml ) | Need Help?? |
I work with many space separated files and I agree that split is often the easiest way to go. I would recommend using the character form of the "split on whitespace" in this situation because it has the property of ignoring leading whitespace, as I demo at Re: But I want null values in my array. This is just one of many, "yeah but's" and exceptions that I've discovered over time.
In Section
Seekers of Perl Wisdom
|
|