- or download this
{
# the values of the following hash are subs defined elsewhere
...
seed( @seed );
}
}
- or download this
elsif ($sym =~ 'auto') {
# To auto-seed or not
$auto_seed = $sym =~ /no|!/;
}
- or download this
elsif ($sym =~ /^(no|!)?auto$) {
$auto_seed = not defined $1;
}
- or download this
elsif ($sym eq 'auto') {
# To auto-seed or not
$auto_seed = 1; # default value for $auto_seed should be 0
}
- or download this
{
no strict 'refs';
*{"${pkg}::$sym"} = \&$sym;
}
- or download this
eval { require LWP::UserAgent; };
if ($@) {
push(@errors, "Failure loading LWP::UserAgent: $@");
next;
}
- or download this
eval { require LWP::UserAgent }
or do {
...
"Failure loading LWP::UserAgent: $@";
next;
};