in reply to perl 5.6.1 bug?

Any ideas?
You should be using URI::Escape.