P is for Practical | |
PerlMonks |
Re: how to remove a specific character from a file efficiently..by jellisii2 (Hermit) |
on Jul 02, 2014 at 11:34 UTC ( [id://1091962]=note: print w/replies, xml ) | Need Help?? |
This smells like an XY problem: The admittedly tiny piece of data looks like it may be JSON or something of the like. Is there a library you can use to parse the files so you don't have to manually mangle it? If so, while a rewrite may be required, you'll probably come out ahead in maintainability.
In Section
Seekers of Perl Wisdom
|
|