On Fri, Jul 25, 2008 at 3:22 AM, <[EMAIL PROTECTED]> wrote: > Greets Guys > > > Trying to Make a system from perl to use the sort. > > > > # @args = ('c:\windows\system32\sort.exe "C\logs\"'); > # system(@args) == 0 > # or die "system @args failed:$?" >
rather than calling an external system commands, you should use Perl's built-in "sort" function, which expresses well under this case. see "perldoc -f sort" for helps. -- Regards, Jeff. - [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/