If the tilde is being "interpolated" somehow it's the redirect() subroutine that's doing it and so your first "this works" example would have the same behavior as the "doesn't work" example.
In any case ... where are your quotes around the URL for the second two examples? What's with the stray <br>s? Are you using warnings and stricture?
In reply to Re: http interpolation
by duff
in thread http interpolation
by perlboer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |