Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Fast Replacement

by choroba (Cardinal)
on Jun 14, 2013 at 07:26 UTC ( [id://1038916]=note: print w/replies, xml ) Need Help??


in reply to Fast Replacement

If you are reading $group from a file, you can probably replace the exclamation marks when reading the file already. Something like
{ local $/ = '!'; while (<>) { chomp; print "$_\n"; last if 50_000 <= $.; } } print <>;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 05:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found