Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: Substitution replacement not terminatedby johngg (Canon) |
on Sep 24, 2013 at 13:50 UTC ( [id://1055499]=note: print w/replies, xml ) | Need Help?? |
You can supply the -p and -i flags within the script itself. Given that your offsets are fixed, you might find that substr is better suited. It is important to insert at your offsets working from the right.
I hope this is helpful. Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|