Re: Changing output
From: Brad Baxter (bmb_at_ginger.libs.uga.edu)
Date: 03/06/04
- Next message: L D Jones: "Re: No more handles error with DBD::DB2 on Linux"
- Previous message: Regent: "Re: Perl on Win32, with Apache"
- In reply to: Euro Millions: "Changing output"
- Next in thread: Euro Millions: "Re: Changing output"
- Reply: Euro Millions: "Re: Changing output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 5 Mar 2004 21:28:21 -0500
On Fri, 5 Mar 2004, Euro Millions wrote:
> What I would like to do is simple (that is if you know it)
>
> I have a CSV text file (comma separated file) which contains the following
> info:
>
> Language, Greeting,
> English, Hello,
> German, Hallo,
> Spanish, Hola,
> Japanese, Konnichiwa,
>
> I would like Perl to create an output file which looks as follows:
>
> Language,Language2, Language3, Langauge4, Greeting,Greeting2, Greeting3,
> Greeting4
> English, German, Spanish, Japanese, Hello, Hallo, Hola, Konnichiwa
Okay, now tell us what you REALLY want to do. :-)
Obviously, you don't really have that file, because writing a program for
that purpose just doesn't make sense. So, do you really have a file that
contains dozens of languages? Is "Greeting" always "Hello", not "Good
morning", "G'day", "'Sup"? I assume your list contains other things, like
"Thank you", "Please", etc.
The question as it stands is so trivial that I'm compelled to think you're
leaving out the parts that matter.
Regards,
Brad
- Next message: L D Jones: "Re: No more handles error with DBD::DB2 on Linux"
- Previous message: Regent: "Re: Perl on Win32, with Apache"
- In reply to: Euro Millions: "Changing output"
- Next in thread: Euro Millions: "Re: Changing output"
- Reply: Euro Millions: "Re: Changing output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|