[LA.pm] global regex matches

Peter Benjamin pete at peterbenjamin.com
Thu Jun 30 22:56:07 PDT 2005


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.




More information about the Losangeles-pm mailing list