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
Throwing nuclear weapons into the sun
Making everybody on Earth disappear
A threat from an alien with a mighty robot
A new technology or communications medium
Providing a magic fish to a Miss Universe
Establishing a Group mind
Results (194 votes). Check out past polls.