in reply to Gracefully choosing which module to use

Something like this:
my $hasLWP = eval{require LWP;}; if( $hasLWP ){ print "LWP is installed\n"; } else{ print "LWP not installed.\n"; }
Good luck.
"Never take yourself too seriously, because everyone knows that fat birds dont fly" -FLC