Lines Matching refs:mod
412 for my $mod ( keys %$href ) {
414 next if $CACHE->{$mod}->{usable} && !$args->{nocache};
428 && defined $CACHE->{$mod}->{usable}
429 && (version->new( $CACHE->{$mod}->{version}||0 )
430 >= version->new( $href->{$mod} ) )
432 $error = loc( q[Already tried to use '%1', which was unsuccessful], $mod);
437 module => $mod,
438 version => $href->{$mod}
442 $error = loc(q[Could not find or check module '%1'], $mod);
443 $CACHE->{$mod}->{usable} = 0;
448 $CACHE->{$mod}->{$_} = $mod_data->{$_}
451 push @load, $mod;
454 for my $mod ( @load ) {
456 if ( $CACHE->{$mod}->{uptodate} ) {
462 eval { autoload_remote $who, $mod };
464 eval { load $mod };
471 $CACHE->{$mod}->{usable} = 0;
474 $CACHE->{$mod}->{usable} = 1;
481 $error = loc(q[Module '%1' is not uptodate!], $mod);
482 $CACHE->{$mod}->{usable} = 0;