Hi,
You may need to open individual files by using some for loop and after
reading all the contents of a single fine in a string, try applying a
regular expression something like this -
$FileContent =~ s/\.html/.php/g;
Once regular expression succesully applied, write back the string into the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mário Gamito wrote:
> My question is how do i change all ocorrences of the string ".html" to
> ".php" inside all the files to change the links for all pages in a snap ?
Awww, use Perl to change the links, but use PHP for server-side
scripting, huh? :(