in reply to
help me on seek and tell function
Discover perlfaq. Specifically from perlfaq5 read How do I change one line in a file/delete a line in a file/insert a line in the middle of a file/append to the beginning of a file?
Inplace editing may be what you want.
perl -pi.bak -e 's/this string/that string/g' some.file
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (157 votes),