Don't ask to ask, just ask | |
PerlMonks |
Re: Store and matchby prasadbabu (Prior) |
on Aug 11, 2009 at 06:26 UTC ( [id://787499]=note: print w/replies, xml ) | Need Help?? |
The mistake you have done is you have not stored the current line in variable $x. Also \w+ will match only 'note_values' and not the remaining string 'note_values,notes_values2
' as it contains ',' in between.
Prasad
In Section
Seekers of Perl Wisdom
|
|