in reply to CPAN module dependencies: possible to depend on A OR B

ivan,

I've never done the anything releated to CPAN installation other than using it. Could you do a simple check to see what was already installed before building your list?

my $match; foreach my $candidate ( @ORDERED_LIST_OF_POSSIBLE_MODULES ) { eval "use $candidate;"; next if ( $@ ); $match = $candidate; last; }

If  $match is true, then you use that module, otherwise you are going to need to install something. Would this get you where you need to be?

- doug