Repeated use() calls call the ->import function. The code is compiled only once but ->import is called every time unless you passed an empty parameter list like use Something ();. Best provides a which() function which can tell you which module loaded.
use Best qw( CGI CGI::Simple ); my $q = Best->which( 'CGI' )->new;
⠤⠤ ⠙⠊⠕⠞⠁⠇⠑⠧⠊
In reply to Re^4: RFC: Module::Prefer
by diotalevi
in thread RFC: Module::Prefer
by radiantmatrix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |