![]() |
|
XP is just a number | |
PerlMonks |
Re^2: [implementation specific to windows] writing a proper batch file for terminal start-upby Aldebaran (Deacon) |
on Oct 17, 2019 at 16:33 UTC ( #11107611=note: print w/replies, xml ) | Need Help?? |
If you have your code set up as a standard directory structure, e.g. with the script in ./bin and any modules under ./lib, then you can use libraries like rlib to add the relative paths in your calling script.
Ok, this is helpful and worth exploring. I must say, however, that I'm unable to follow what rlib is doing. Let's look at the source:
I fail to see how _dirs is populated. Can someone talk through how this works? In particular, I do not understand the syntax of the following lines:
and
How might I test this? Thx for your comments,
In Section
Seekers of Perl Wisdom
|
|