Syntactic Confectionery Delight | |
PerlMonks |
Re^2: Replace value in the text fileby afoken (Chancellor) |
on Jun 29, 2017 at 04:25 UTC ( [id://1193801]=note: print w/replies, xml ) | Need Help?? |
I understand Marshall and Huck solution, but not sure tybalt89 solution. Don't worry, tybalt89 has the nasty habbit of posting completely uncommented, unexplained code that may or may not work; sometimes it works only accidentally. Your best bet for handling CSV data is to use Text::CSV_XS, its slower pure-perl implementation Text::CSV, or DBI in combination with DBD::CSV. The latter pair uses Text::CSV_XS behind the scenes to provide an SQL interface to the data in CSV files. Alexander
-- Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
In Section
Seekers of Perl Wisdom
|
|