Do you know where your variables are? | |
PerlMonks |
Re^3: Adding a column to a file where i took out two columnsby GrandFather (Saint) |
on Sep 24, 2014 at 21:25 UTC ( [id://1101875]=note: print w/replies, xml ) | Need Help?? |
Ok, that changes things somewhat. How about this:
Prints:
Note that effectively all of the first file is read into memory to avoid having to re-read and parse it for each following file. This is fine so long as the first file is less than about half the memory you have available.
Perl is the programming world's equivalent of English
In Section
Seekers of Perl Wisdom
|
|