Re: From column to row?
- From: cdevers@xxxxxxxxx (Chris Devers)
- Date: Mon, 28 Nov 2005 14:53:02 -0500 (EST)
On Mon, 28 Nov 2005, Andrej Kastrin wrote:
> 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?
Yes, it's possible.
However, your description of the result you want doesn't seem to match
with the subject line you used -- I was expecting that you want output
like "ABCA", "ABCB..", "ABCD.", "ABCD", "ABCD". Which is it?
Regardless, either way is possible.
What have you tried so far?
Anything?
We can only help critique code you've attempted yourself.
This is not a free script writing service.
--
Chris Devers
?ÑnÜéX?rÓ~k»
- Follow-Ups:
- Re: From column to row?
- From: Andrej Kastrin
- Re: From column to row?
- References:
- From column to row?
- From: Andrej Kastrin
- From column to row?
- Prev by Date:
Re: comparing arrays of strings - Next by Date:
Re: Adding the use statements to a different file - Previous by thread:
From column to row? - Next by thread:
Re: From column to row? - Index(es):