I only use require when I need to load a module I've been trying to avoid using. For example, I don't use Carp; but, instead, I require Carp; once I've encountered an error and need to carp() or croak(). As another example, I sometimes require Data::Dumper; if a debug flag is set.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: USE or Require?
by sauoq
in thread USE or Require?
by BUU
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |