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?
Thanks,
Frank
SurfShop v1.5.2 Released
http://www.surfshopcart.com/forrumm/viewtopic.php?f=2&t=298
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/