Angharad has asked for the wisdom of the Perl Monks concerning the following question:
I have a number of files with data that is presented like this (only much larger).
1 G 2 F 4 H 8 T
5 Y 6 R 7 E 8 I
I would like to create a new file containing all the information in these files and format it as follows.2 H 4 T 3 G 8 R
Could someone please give me a few pointers as to how to do this? I guess I could open all the files, store them in separate hashes and then print them out somehow? Thanks in advance1 G 5 Y 2 H 2 F 6 R 4 T 4 H 7 E 3 G 8 T 8 I 8 R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: making 3 files into one
by ikegami (Patriarch) on Feb 17, 2009 at 17:45 UTC | |
Re: making 3 files into one
by toolic (Bishop) on Feb 17, 2009 at 17:45 UTC | |
Re: making 3 files into one
by Lawliet (Curate) on Feb 17, 2009 at 17:43 UTC | |
Re: making 3 files into one
by CountZero (Bishop) on Feb 17, 2009 at 22:26 UTC | |
Re: making 3 files into one
by skywalker (Beadle) on Feb 17, 2009 at 18:05 UTC | |
Re: making 3 files into one
by GrandFather (Saint) on Feb 18, 2009 at 03:30 UTC | |
Re: making 3 files into one
by Anonymous Monk on Feb 18, 2009 at 08:49 UTC |
Back to
Seekers of Perl Wisdom