Modules

Find the execution directory, exported via BIN()
List parent dirs of the given path from curr to root.
locate and a 'use lib' or export directories based on $FindBin::Bin.