When you use my in the file being required, you are declaring the variables within the file scope. When you leave the file, they are no longer accessable. I would recommend using 'our' instead of 'my'.
In reply to Re: Configuration files via require or do and my, local.
by ehdonhon
in thread Configuration files via require or do and my, local.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |