hey, in my program im just trying to redirect the commands output but i get the error: sh: line 1: 1: command not found
code: $return = system("tar czvf $tar $files > $logfile >2&1"); if i take out the > $logfile >2&1 , it works fine but i get that error with it in, but the werid thing is it did work before this is very puzzling as i dont believe i changed anyhting and it did indeed work before, now as i understand it Learning Perl 3rd Edition says if its a simple cmd like ls then perl will just excute it if its anyhting more complicated the shell will, but yeah i need to redirct the output any1 know why this isnt working as it should right? thanks. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]