in reply to Re: Re: "Quantifier follows nothin" error?
in thread "Quantifier follows nothin" error?

This

if ($newurl =~ "\?") { # line 73 (I think)
should be:
if ($newurl =~ /\?/) {
The problem is that the string on the right hand side is being treated as the regular expression to match... but the backwhack is treated as an escape, so the regex becomes simply /?/ and hence the quantifier (?) "follows nothing."

-sauoq
"My two cents aren't worth a dime.";