At 10:08 PM 6/30/2005, David Heayn wrote: > $thingie =~ s/$tempURL/$redirLoc\?$encryptName/; add a g at the end? And the g in the if statement is not going to do what you expect. So, the g in the statement above will make all the URLs the same as $encryptName.