"or is there a better way to make the Module Assume that everything called in the main script is useable?"
Unfortunately that is not the better way, many monks here can give a long lecture as why, but let me just make it simple: why should the person call your module know that, inside your module, you expect the connection being named $dbh, not $connection, or $blah?
In reply to Re^4: Passing Variables
by pg
in thread Passing Variables
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |