in reply to When constructing a URL from script variables, how do I handle spaces properly?
$boomdiggity = "www.yayforperl.org/index.pl?go=foo bar"
Then run $boomdiggity through "s/ /%20"
Originally posted as a Categorized Answer.