Secondly for temporary files, use File::Temp instead of hand-rolling.
And thirdly the fact that you defined your store function inside of your sortsub function suggests some confusion on your part. You cannot get nested functions that way.
As a matter of personal taste I would drop the prototype, use strict, etc, etc, etc. But the three I gave above are the biggies.
In reply to Re (tilly) 3: Sorting a large file
by tilly
in thread Sorting a large file
by c-era
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |