http://qs321.pair.com?node_id=263680


in reply to Executing DOS shell commands via system()

cbro was spot on. Also, concerning your use of system... This is probably what you want/mean:

system(@args) == 0 || die "Failed to delete: $!";

See system concerning return value.


cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."