$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.
In reply to filename dynamic by PiyaPerl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |