Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Question regarding options like -i -n -p

by SuicideJunkie (Vicar)
on May 29, 2013 at 20:25 UTC ( [id://1035913]=note: print w/replies, xml ) Need Help??


in reply to Question regarding options like -i -n -p

If you want to do more than just simple file munging, then a one-liner on the command prompt is probably not for you.

Populate a .pl file with the code, and add some extra code to the end, comments and strict and warnings, and even newlines for readability. Then run that script.

If you tell us what it is you want to do, there may be a trick for it, but in general, just make a "real" script. See below posts for deleting backup files at the end.

  • Comment on Re: Question regarding options like -i -n -p

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1035913]
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: (6)
As of 2024-04-18 01:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found