How to search and replace multiple files using Perl

Use the following Perl command if you want to scan through multiple files in a directory and replace certain matching string with another string.