in reply to filename dynamic

I'm not on a system were I can test this so It may need a slight adjustment, but it's the direction that I'd look into using.

#!/usr/bin/perl use strict; use warnings; use Module::Load; use lib './pckg1/pckg2'; my $filename = getfilenamefromdb(); autoload $filename; my $result = func();