javascript: var s = "%s"; self.location = (("%" + "s" == s) ? "http://perldoc.perl.org/" : ("http://perldoc.perl.org/search.html?q=" + s));