It seems to be an ineradicable prejudice that do $file and its equivalent eval qx(cat $file) is bad practice.
Hmm, lets see, do documentation itself tells you use/require are better ... meaning actual modules are better ... most folks who do 'file'; manage to forget about namespaces and aren't coping with scoping -- when they switch to use/require they're at least forced to think about it by all the tutorials
In reply to Re^4: Best way to call another perl file
by Anonymous Monk
in thread Best way to call another perl file
by derekstucki
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |