in reply to Re: Use with variable
in thread Use with variable

Module *must* be a bareword
my $module = "CGI"; require $module;

That's an interesting bareword you use. ;-)