use Carp; my $module = "CGI"; eval "require $module"; if ($@) { carp "Problem with require of $module: $@"; } else { { no strict "refs"; my $version = ${ $module. "::VERSION" }; print "We have $module installed, version: $version\n"; } }
In reply to Re^2: CoreList stuff
by doom
in thread CoreList stuff
by neutron
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |