Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: encoding URL ampersands?

by almut (Canon)
on Jul 29, 2010 at 19:49 UTC ( [id://851999] : note . print w/replies, xml ) Need Help??

in reply to encoding URL ampersands?

You probably meant

my $url_parm = ''; $url_parm =~ s/&/&/sg; my $url = "http:/$url_parm";