mikasue has asked for the wisdom of the Perl Monks concerning the following question:
Good morning! I have a question about filenames and paths in Perl. I use the the FindBin command to find my current working directory but I need to go one level up out of my current directory. Is there a command that will allow me to do that and then set the lib "." to that level so that I can share a .pm file that's in that directory?
Example
/foo/poo/current/
when I use FindBin i get /foo/poo/current/
but the file I want to use is in /foo/poo
Thanks!
MikaSue
Back to
Seekers of Perl Wisdom