![]() |
|
P is for Practical | |
PerlMonks |
Re^2: Difference between 'use' and 'require'by ikegami (Patriarch) |
on Dec 07, 2004 at 15:01 UTC ( #412914=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|