Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Explicit Package?

by jimpudar (Pilgrim)
on Feb 08, 2019 at 01:49 UTC ( [id://1229584]=note: print w/replies, xml ) Need Help??


in reply to Explicit Package?

You have your answer, but I thought I'd mention you can also write this program as a one liner on the CLI like this:

perl -wlpe 's/fred/valentine/gi' <in_file >out_file

πάντων χρημάτων μέτρον έστιν άνθρωπος.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 05:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found