quoth do's pod: ... inclusion of library modules is better done with the use and require operators, which also do automatic error checking and raise an exception if there's a problem.
The differences aren't huge, but if you read do and require, you will see differences.
-Paul
In reply to Re: require() vs do()
by jettero
in thread require() vs do()
by vinoth.ree
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |