in reply to Database Search Approaches
It allows you to only have to specify each module once. A potential problem is if you need directives in the use statements for any of the modules, example:#!/usr/bin/perl use strict; use warnings; my @searchable; BEGIN { @searchable = qw(...); # the list to include foreach my $module (@searchable) { eval "use $module"; if ( $@ ) { die "error using: $module\n"; } } }
use Params::Check qw(check);
|
|---|