in reply to User/Pass web page grab with url/$variable interpretation.

The problem as you might well enough see ... is that my variable is not being interpreted in this context

You need to use double quotes instead of single quotes in

$req = HTTP::Request->new(GET => 'http://webpage/bio/viewsnp/$snp_nu +mber');
Single quotes block variable interpolation.