a) module A uses module B before it does the require (in this case the function becomes loaded into B's namespace) or
b) module A requires the file before using module B (and in this case the function becomes loaded into A's namespace).
-M
Free your mind
In reply to Re: Why is 'require' not working as I expect?
by Moron
in thread Why is 'require' not working as I expect?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |