PiyaPerl has asked for the wisdom of the Perl Monks concerning the following question:
I have a the following
$filename=getfilenamefromdb(); #gets a name of file require pckg1::pckga::$filename; $result= pckg1::pckg2::$filename::func();
So there is folder 1 as pckg1 inside which we have another folder as pckg2 and then we have .pm files in it whose name is variable so how to access it.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: filename dynamic
by choroba (Cardinal) on May 12, 2014 at 15:02 UTC | |
by PiyaPerl (Acolyte) on May 13, 2014 at 06:16 UTC | |
by choroba (Cardinal) on May 13, 2014 at 11:46 UTC | |
Re: filename dynamic
by Anonymous Monk on May 12, 2014 at 16:22 UTC | |
Re: filename dynamic
by hippo (Bishop) on May 12, 2014 at 15:00 UTC | |
Re: filename dynamic
by Anonymous Monk on May 12, 2014 at 15:25 UTC |
Back to
Seekers of Perl Wisdom