Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Look Ahead regexp to insert line?

by choroba (Abbot)
on Oct 02, 2012 at 00:54 UTC ( #996780=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Look Ahead regexp to insert line?
in thread Look Ahead regexp to insert line?

My script goes through the file line by line, not letter by letter. It should work even for large files where stuffing everything into memory might be a problem.

If you want to compare different solutions, benchmark. Benchmark can help you.

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re^3: Look Ahead regexp to insert line?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-11-28 20:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (200 votes), past polls