Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Find pieces of text in a file enclosed by `@` and replace the inside

by McA (Priest)
on Mar 08, 2013 at 12:28 UTC ( #1022412=note: print w/replies, xml ) Need Help??


in reply to Re: Find pieces of text in a file enclosed by `@` and replace the inside
in thread Find pieces of text in a file enclosed by `@` and replace the inside

I give a ++ for this very nice piece of code. This one could be in a book "Learning Perl: The clean and nice way".

IMHO why: use good modules, format code concise, build nice regexes with comments.

Aaaahh, this code makes me happy... ;-)

Best regards
McA

  • Comment on Re^2: Find pieces of text in a file enclosed by `@` and replace the inside

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2022-08-07 19:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?