Do you know where your variables are? | |
PerlMonks |
Re: Make string that results from split behave like double-quoted stringby chilledham (Friar) |
on Aug 23, 2013 at 19:56 UTC ( [id://1050725]=note: print w/replies, xml ) | Need Help?? |
Something like this should work:
Edit: the fat arrow in the split is just a personal preference of mine. I find it's easier to look at, though split(/\|/, $_) or split /\|/ work just as fine as well.
In Section
Seekers of Perl Wisdom
|
|