oxydeepu has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
I want to format the output from the dumper module, which is in this format given below
$VAR1 = {
'3' => {
'GID' => 18,
'AIG' => 161,
'TEA' => 224,
},
'2' => {
'GID' => 27,
'AIG' => 160,
'TEA' => 224,
},
'4' => {
'GID' => 17,
'AIG' => 135,
'TEA' => 214,
},
'1' => {
'GID' => 18,
'AIG' => 154,
'TEA' => 235,
}
};
In the file 1,2,3,4 are column numbers and values for corresponding 3 letter words. I want to format the file and get an out put as given below
AIG 154 160 161 135
GID 18 27 18 17
TEA 235 224 224 214
I am not able to get a logic to do so.
Please help. Thanks in advance.
Deepak
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Format a Dumper module output file.
by choroba (Cardinal) on Oct 03, 2012 at 12:32 UTC | |
Re: Format a Dumper module output file.
by Arunbear (Prior) on Oct 03, 2012 at 13:12 UTC | |
by oxydeepu (Novice) on Oct 03, 2012 at 13:30 UTC | |
Re: Format a Dumper module output file.
by BrowserUk (Patriarch) on Oct 03, 2012 at 12:40 UTC | |
Re: Format a Dumper module output file.
by nemesdani (Friar) on Oct 03, 2012 at 12:31 UTC |