"am sorry i want to apply the same command that rearranges columns in multiple files , i dont understand whats wrong in applying perl to run a linux command on multiple files"
There's nothing wrong with using perl to do this, as you're simply using it as a wrapper around some shell commands I fail to see how this is useful to you without learning the basics of the tool (perl) you've chosen to use. I appreciate that this may be confusing to begin with, I strongly suggest you invest time in learning the basics. If you have a specific problem it's always best to point it out rather than say "PLEASE HELP IN FIXING THESE ERRORS" when you don't actually list any errors.
Had you run this code you've provided you see a warning message with a line number, and a syntax error again with a line number. What problems do you have understanding these messages? Did you read the advice given the last time you asked about running system commands? The links previously given (in multiple replies) list FAQs which provide examples of how to achieve this using perl, for various scenarios. Super Search will help find related problems.