in reply to check symbol table w/ dynamic name
The following seems to work:
my $defd; eval ('$defd = defined(%'. $module .');'); if (!$defd)) { eval { require "${module}.pm"; } }
I appreciate all ideas for this. Looking for the best solution.
Thanks,
|
|---|