rocketperl has asked for the wisdom of the Perl Monks concerning the following question:
my current output looks like this belowfor ($i=0;$i<(scalar(@np));$i++) { if ($gap[$index]>=-200) { print OFILE "$coordinate[$index]\t$np[$index]\n"; } else { print OFILE "End of block $index.\n"; print OFILE "$coordinate[$index]\n"; print OFILE "Start of block $index.\n"; } $index++; }
rather I want it to look like this4775792 p 4775842 p 4775852 p 4775902 p 4775952 p
please help me with this. i have trying so hard to figure out this!4775792 p 4775842 p 4775852 p 4775902 p 4775952 p 4776002 n
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print two arrays into a tsv format
by hdb (Monsignor) on Jul 03, 2013 at 06:20 UTC | |
by rocketperl (Sexton) on Jul 03, 2013 at 06:24 UTC | |
by hdb (Monsignor) on Jul 03, 2013 at 06:27 UTC | |
by rocketperl (Sexton) on Jul 03, 2013 at 08:30 UTC | |
|
Re: print two arrays into a tsv format
by Anonymous Monk on Jul 03, 2013 at 06:24 UTC |