Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Changing string in specific line/position in a file

by GrandFather (Saint)
on Oct 31, 2022 at 20:23 UTC ( [id://11147876]=note: print w/replies, xml ) Need Help??


in reply to Re: Changing string in specific line/position in a file
in thread Changing string in specific line/position in a file

Does this not make somewhat of a mess if the replaced line length is different than the original line?

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re^2: Changing string in specific line/position in a file

Replies are listed 'Best First'.
Re^3: Changing string in specific line/position in a file
by hv (Prior) on Oct 31, 2022 at 20:32 UTC

    It would do, yes; but my reading of the original post was that the author understands that, and intends to replace with something of the same length.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (1)
As of 2024-04-24 15:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found