You should URI-encode your parameters.
agent_site.pl?dir=$dir(=$lang&des=$des&page=https%3A%2F%2Fwww.consumerinfo.com%2Fcic%2Fform_online_a1.asp%3Fsc%3D00030000%26af%3D%26br%3D%26cl%3D0105
See the
URI or
URI::Escape modules. You should probably also escape
$dir,
$lang and
$des.
Makeshifts last the longest.