|There's more than one way to do things|
Re^5: Need to turn off prints from moduleby kcott (Canon)
|on Nov 17, 2010 at 23:40 UTC||Need Help??|
For my tests, I used the problem string you posted then added three more from browsers I had handy on my PC. I notice that the Firefox one you've now posted has "+" characters in every position that mine has spaces (ignoring a few minor variations in version numbers). I took mine directly from the browsers; it occurred to me that may yours are perhaps URL-encoded (while you can represent a space as hex %20, it can also just be converted to a plus-sign).
So, I added your latest problem string to my existing test list and changed:
And it all worked! :-)
So, give that a go - it might be the solution.
If not, you can redirect STDERR (see open - example code is about halfway down the page) but you'll lose every error message by doing that and I really wouldn't recommend it.
In the _numify() routine (referenced in my last post) pluses are actually removed (see final alternation item):
So, if my solution works, you might want to post a bug report with the fix being: