Dave./tmp/foo.conf: sub f { print __PACKAGE__, "\n" } 1; main script: package P1; do '/tmp/foo.conf'; package P2; do '/tmp/foo.conf'; P1::f(); P2::f(); which outputs: P1 P2
In reply to Re: Can you limit the scope of require?
by dave_the_m
in thread Can you limit the scope of require?
by taylorK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |