in reply to Re^6: inserting array of data into text file
in thread inserting array of data into text file
my $i = 0; while (<COL>) { print OUT2 "$_ ", $col[$i++], "\n"; }
You made it more complicated than it needed to be.
------
We are the carpenters and bricklayers of the Information Age.
Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose
I shouldn't have to say this, but any code, unless otherwise stated, is untested
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: inserting array of data into text file
by Anonymous Monk on Jul 13, 2004 at 15:42 UTC | |
by dragonchild (Archbishop) on Jul 13, 2004 at 15:50 UTC | |
by Anonymous Monk on Jul 13, 2004 at 20:03 UTC | |
by dragonchild (Archbishop) on Jul 13, 2004 at 20:16 UTC |