sub require_if_present { my $mod = shift; eval { require $mod; return 1; } return 0 if $@; }
pike
In reply to Re: Re: Using a paramter value to call a module
by pike
in thread Using a paramter value to call a module
by Hagbone
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |