in reply to Re: system( 'mv ...' ) not working?
in thread system( 'mv ...' ) not working?

This will teach me to look in the error logs... I tried the system() == 0 or die, and that helped... looks like the move target is not getting properly passed to the system call (ooh! or there is an extra embedded newline that the browser strips out of the "mv" command when copying!!!). I'll try to fix that. What's the "carp to browser" stanza? I'll try to look that up as well so it'll be easier to spot these next time. Thanks for the confessional debugging! --Robert
mv: missing file argument Try `mv --help' for more information. sh: /var/log/newlogs/trashed: is a directory Uncaught exception from user code: Cannot: mv /var/log/qarun-newlogs/Static-Air-10.16.79.90 /var/log/newlogs/trashed, 32256 main::add_and_trash('/var/log/newlogs/Air-10.16.79.90-0922_125 +6PM') called at logloader.pl line 42