Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^3: Rearranging columns in multiple text files

by marto (Cardinal)
on Mar 18, 2013 at 11:27 UTC ( [id://1024015]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Rearranging columns in multiple text files
in thread Rearranging columns in multiple text files

"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.

  • Comment on Re^3: Rearranging columns in multiple text files

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1024015]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-25 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found