http://www.perlmonks.org?node_id=644698


in reply to Using Modules

This is one way to do so,
my $_madfile = "MA::$_mad->{name}"; my $_cardCharged = eval qq{ require $_madfile; $_madfile::chargeCard(); }; die $@ if $@;

Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!