does it need to escape the special character for the input in this case? Actually my input is dynamic.
That depends on what special character you mean? URI should be able to handle just about any supported URI you throw at it. Can you show some more examples of what you mean? In fact, my example code includes Test::More, and you can easily extend it with more test cases to see if it does what you want.
Also, please be careful, you've reposted your question twice now. If you have the browser open to the submission page, don't reload it.
In reply to Re^3: replace characters in link
by haukex
in thread replace characters in link
by ytjPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |