I must be missing something simple, or else poorly explained my problem.
When I use any of the methods you guys have explained, I get many compilations error about explicit package names -- so perl is not seeing the file I am trying to include with those variables declared, or else they are out of scope? This was from the require perldoc -- I know it is mentioning the reverse case of what I am doing, but perhaps still relevant
The file is included via the do-FILE mechanism, which is essentially just a variety of eval with the caveat that lexical variables in the invoking script will be invisible to the included code.
Thanks for the tip about including my variables in an object -- it's a little over my head at my current perl level but I will put it on the list of things to check out
Here is the most basic reference to my code so you can see two of my trials of your suggestions
#require ::usr::local::bin::ebook_distributor_DEV::ebooksend_config; eval "cat /usr/local/bin/ebook_distributor_DEV/ebooksend_config";
In reply to Re^2: Development version of a script?
by kurt2439
in thread Development version of a script?
by kurt2439
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |