Using module whith name stored in variable

Hello all! Can anybody tell how can I use modele which name stored in variable? For example, I have this code: package MyModule; use strict; use Exporter; use vars qw(@ISA @EXPORT $DEBUG); @ISA = qw/Exporter/; @EXPORT = qw(foo); sub foo($) { my $arg = shift; print "MyModule foo: my arg: '$arg'\n";