http://www.perlmonks.org?node_id=942156


in reply to system command is not working

So you're having an error. First thing you should do is check what error happened.

Likely cause: The current directory isn't what you think it is, and you don't have access to write to the current directory.