Hi ben,

ben perl wrote:
Hi Everyone,
I am could never understand the difference between use vs require? If
"require" is older way of including modules, why not just make it obsolete.
nope there's even more than that.
"use" loads the source when starting the script.
"require" just loads it when it passes the "require" option.
means you can optionally load source with "require".
Thanks,
-Bandeep
regards,
Sebastian

--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to