mod_perl s//g
Are there any traps that I should be aware of when using s//g? I was reading the online mod_perl docs and could not find anything to that effect. But I do recall working with Perrin (correct me if I am wrong Perrin) that there were some issues with using global tag in substitutions. -r
Re: mod_perl s//g
On Tue, 14 Aug 2001, Rasoul Hajikhani wrote: Are there any traps that I should be aware of when using s//g? I was reading the online mod_perl docs and could not find anything to that effect. But I do recall working with Perrin (correct me if I am wrong Perrin) that there were some issues with using global tag in substitutions. No, it's the /o (compile) flag that has issues. It's in the guide: http://perl.apache.org/guide/perl.html#Compiled_Regular_Expressions - Perrin