I have a string test.cgi@action=<action-name>
<action-name> can be any string
I would like to replace the above string with <action-name>.html for all the occurrences within a file.
Can any one please let me know how I can proceed with this using a Perl script?
ps: I didn't get any response when i posted as a comment to existing message. So, I'm posting as a new message.
<action-name>can be any string, how do you know where the end of the string is?