in reply to shell problem

That line looks perfectly fine as a shell command. Perhaps $_ ends in a newline, or $new_disk is not in the format that you expect. Try changing the system operator to a simple print to ensure that the command line you are handing the shell is what you think it is.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
RE (tilly) 2: shell problem
by tilly (Archbishop) on Sep 27, 2000 at 19:46 UTC
    This also looks like something that might be run in a cron. If so you may want to check environment and path as well.