Let me get this right. You have a directory you want to put into the library path, something like: /home/name/libs/perl/Library-2.1/
And you want a way to – use lib ("/home/name/libs/perl/Library-2.1") – w/out having to modify the use lib if you update to Library-2.2?
If that’s the case, there’s a simple solution:
ln -s /home/name/libs/perl/Library-2.1 /home/name/libs/perl/Library
Am I still missing what you’re trying to do? Using a soft link is the preferred way and is extremely commonly used, especially on system level file. Java is a good example as many systems will be known to have multiple versions. /usr/local/java will be a soft link to /usr/local/java-1.5jre while somebody might also have /usr/local/java-1.5sdk.
Does that solve your problem?
yerba# rm -rf /etc