Using $*PROGRAM.parent for the directory of the current script is what I've
always used, and it works well.
Note that if you do .add('../../../'), you may need to also call .resolve at
some point, but I generally just use .parent several times. (I think at worst
case I've only ever gone up
I'm looking for the canoncial way to get the location
of the currently running script (similar to perl's
FindBin), so that I can specify other locations
relative to the script location.
This does what I want, but I see that the docs say
that it's deprecated:
my $loc = $*PROGRAM.chdir('..');