Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: s// All Files In Directory

by Happy-the-monk (Canon)
on Apr 02, 2012 at 19:37 UTC ( [id://963098]=note: print w/replies, xml ) Need Help??


in reply to s// All Files In Directory

How can I open all of the file in the directory, and substitute all of the 5s for 6s?

perldoc perlrun yields the answer to your question. Have a look for -pi.

Cheers, Sören

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-24 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found