Perl Monk, Perl Meditation | |
PerlMonks |
Re: Split confusionby perlfan (Vicar) |
on Jun 03, 2020 at 15:21 UTC ( [id://11117658]=note: print w/replies, xml ) | Need Help?? |
I'm getting back to Perl after about a decade
Welcome back!
Output: Seems to work, are you sure you have an actual space on the RHS of the |? Also, seems like you could be kind to your computer and not save the capture results: Final suggestion is to use the exact same regex in the if as you do in the split.
In Section
Seekers of Perl Wisdom
|
|