in reply to Re: passing a $var thru a "use module($var)"
in thread passing a $var thru a "use module($var)"

As a separate matter, you should beware about a numeric first argument to use because Perl may interpret it as a minimum required version for the given module.
Not exactly because use isn't exactly a function (use(CGI=>3);).
$$ perl use CGI 3; # what you're talking about use CGI ( 66 ); # a numeric literal, 1st argument, statement succeeds use CGI 66; # dies as should CGI version 66 required--this is only version 3.04 at - line 3. BEGIN failed--compilation aborted at - line 3.