Hmm, if the whole point of your Perl script is to launch a shell sort, then maybe you should consider a shell script instead.
The alternative is to load the file into an array, and use the Perl sort comand to sort the array (assuming the file is not too large for your available memory).
But I don't see any interest in using Perl to launch a shell command in your context.
In reply to Re: System(), writing to a new file
by Laurent_R
in thread System(), writing to a new file
by cyates
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |