[Chicago-talk] Why do I need "use"

brian d foy brian.d.foy at gmail.com
Mon Feb 27 18:49:50 PST 2006

On 2/27/06, Jay Strauss <me at heyjay.com> wrote:

> My question is: Why do you have to use "use"?  Perl is so forgiving in many
> cases, and you can load modules at runtime.  Why doesn't Perl just
> automatically load modules it discovers in the source?

There is Class:Autouse if you want that sort of behavior.  Otherwise,
Larry's answer to these sorts of things has been "Because." :)

brian d foy <brian.d.foy at gmail.com>

More information about the Chicago-talk mailing list