monkfan has asked for the wisdom of the Perl Monks concerning the following question:
It doesn't print this format - especially the last line (the indentation starting from second column is not right):use Data::Dumper; my @aoa = ( [qw (GAL_up800.fasta 6 800 4.8)], [qw (hm01g.fasta 18 2008 36.144)], [qw (hm02r.fasta 9 1000 9)], [qw (train_muscle.fasta 7 50 0.35 )], ); #print Dumper \@aoa ; foreach my $aref (@aoa) { print "$aref->[0]\t\t $aref->[1]\t $aref->[2]\t $aref->[3]\n"; }
What is the standard practice for simple neat-printing like this? Is there any module that does this job?GAL_up800.fasta 6 800 4.8 hm01g.fasta 18 2008 36.144 hm02r.fasta 9 1000 9 train_muscle.fasta 7 50 0.35
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: About Tabbed Printing
by ikegami (Patriarch) on Dec 10, 2005 at 14:32 UTC | |
|
Re: About Tabbed Printing
by robin (Chaplain) on Dec 10, 2005 at 18:37 UTC | |
by ikegami (Patriarch) on Dec 12, 2005 at 16:03 UTC | |
by robin (Chaplain) on Dec 12, 2005 at 16:29 UTC | |
by ikegami (Patriarch) on Dec 12, 2005 at 16:47 UTC | |
|
Re: About Tabbed Printing
by xdg (Monsignor) on Dec 10, 2005 at 19:25 UTC | |
|
Re: About Tabbed Printing
by TedPride (Priest) on Dec 10, 2005 at 16:46 UTC | |
|
Re: About Tabbed Printing
by turo (Friar) on Dec 12, 2005 at 00:48 UTC | |
|
Re: About Tabbed Printing
by TedPride (Priest) on Dec 10, 2005 at 18:58 UTC |