From column to row?



Hi, I am totally NOOB in Perl and here is my first problem, which I couldn't solve...
I have column data in file xy.txt, which looks like:
AAAAA
BBBBB
CCCCC
ABCDD
...
..


Now I have to transform this to row data file in the following way:
"AAAAA","BBBBB","CCCCC","ABCDD"

Is that possible?

Thanks in advance, Andrej
.



Relevant Pages

  • Re: From column to row?
    ... > Hi, I am totally NOOB in Perl and here is my first problem, which I ... > Now I have to transform this to row data file in the following way: ...
    (perl.beginners)
  • Re: Navigating C++
    ... my first problem is that I dont know where the man pages live for ... C++ has a fairly different culture than Perl. ... In Perl, I would just visit CPAN for these things. ... free library but it does not include all C++ libraries. ...
    (comp.lang.cpp)
  • Re: Navigating C++
    ... my first problem is that I dont know where the man pages live for ... C++ has a fairly different culture than Perl. ... In Perl, I would just visit CPAN for these things. ... free library but it does not include all C++ libraries. ...
    (comp.os.linux.misc)
  • Re: Regex failed to replace utf8 character
    ... Reading the file into Perl using ... was the first problem. ... Reading it in normally was what I should have ... This still ran in an infinite loop: ...
    (comp.lang.perl.misc)