in reply to Split function
i am reading a text file
Hmm, I think you are reading a CSV file, not just a text file. And unless it's for learning Perl, consider using Text::CSV_XS (or the slightly slower pure-perl version Text::CSV) instead. Text::CSV_XS handles all of those ugly edge cases that a simple split can't handle - embedded quotes, embedded separation character, quoted values, to name just a few.
Alexander
--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
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