"be consistent" | |
PerlMonks |
Re^2: difference in regexby jwkrahn (Abbot) |
on May 29, 2018 at 18:26 UTC ( [id://1215404]=note: print w/replies, xml ) | Need Help?? |
what I would probably have done is to first split the string on a comma, then pop the last entry off the resulting array. As in:
But you don't really need an array to do that because you can get the last value directly from the list that split returns:
In Section
Seekers of Perl Wisdom
|
|