if ( not LWP::Simple->can( 'import' ) ) { require LWP::Simple; }
This doesn't buy you anything over a simple require LWP::Simple. [Unless you are thinking that can() is significantly faster than the hash lookup that require already does, which I am unable to imagine a situation where I'd consider the difference "significant" even if can() was instantaneous.] (:
In reply to Re: LWP::Simple::Cookies - adds cookie support to LWP::Simple (just require)
by tye
in thread LWP::Simple::Cookies - adds cookie support to LWP::Simple
by diotalevi
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |