in reply to Unix command working with Perl
Are you sure mv is in the PATH? Also you'll want to quote $h and $b to protect against spaces if you want to use command-line programs. Probably a better option is to use File::Copy as it can run anywhere perl can and is a core module e.g
Another thing to be weary of is $b as it is a special variable associated with sort().use File::Copy; move($ARGV[0], $ARGV[1]);
_________
broquaint
|
|---|