Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Regular expressions - matchby flaviusm (Acolyte) |
on Jan 24, 2011 at 22:19 UTC ( [id://884012]=perlquestion: print w/replies, xml ) | Need Help?? |
flaviusm has asked for the wisdom of the Perl Monks concerning the following question:
I try to filter a csv data file based on some optional columns. This is the expected behavior: e.g.
data line: "one=1,two=2,three=3,four=4,five=5" or
data line: "one=1,three=3,five=5" This is the code I have:
The above code doesn't work as expected neither for string1 nor for string2. I would appreciate your feedback and ideas.
Back to
Seekers of Perl Wisdom
|
|