I'm in the process of moving certain files of the SurfShop script into a sub-directory to clean up the main directory and would like to know the best way for the script to find these files.
I was using this method:
use FindBin qw($Bin);
use lib "$Bin/../ss_files";
which worked for me, but I read somewhere that FindBin can break in certain situations. So I tried the following:
use lib "ss_files";
This also works, but iirc, I read that it won't work across all platforms, is that correct? Is one of these methods better than the other, or is there another way that I haven't found yet?