in reply to Difference between 'use' and 'require'

The differences are many and often subtle: So they behave differently but achieve the same goal. Then there's a list of cultural differences in addition to the technical differences, but they're not so hard and fast.
HTH

_________
broquaint

  • Comment on Re: Difference between 'use' and 'require'

Replies are listed 'Best First'.
Re^2: Difference between 'use' and 'require'
by ikegami (Patriarch) on Dec 07, 2004 at 15:01 UTC
    use implicitly calls the import method of the module being loaded, require does not

    That's optional. Adding empty parens (as in use Socket ();) prevents import from being called.