> under mod_perl this takes 23 seconds. running the perl "by hand" (via > extracting this piece into a seperate perl script) on the same data takes > less than 1 second.
Are you sure that the string you're regex'ing is the same in both cases? Why are you using the /o operator? CG isn't a variable, is it? - Perrin