And the reason you can't see my variables from the included script is because my declares a lexical variable which will falls out of scope at the end of a file (as lexical variables are declared into the surrounding file scope by default). So your alternatives are to either export your variables by implementing import() and turning your file into a module (perhaps not ideal for your situation), or using package variables which are visible throughout the execution of a program.
_________
broquaint
In reply to Re: #include files
by broquaint
in thread #include files
by jds00
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |