nithins has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks, How to replace string after matching with a certain word in a file?

For example, i have a string in file say "user={hhhfj}jshdfjhdfjh\=" i want to match for "user=" , if match is successful i want to replace this "{hhhfj}jshdfjhdfjh\=" string with my own value & new value should be written to file i,e "user=newvalue".