in reply to How to execute a linux system command with perl?

You haven't shown any error messages, so we can't say what's going wrong. (Also, please use <code> tags to format code.) It looks like you're not checking the return value of system for errors, you should do that with the code shown in its documentation, or with a module such as IPC::System::Simple. I wrote about the topic of running external commands at length, with sample code, here.