in reply to
Out of a hole?
If you are trying to figure out what directory you are in without using a module, you can edit Cwd.pm and include the relevant function(s) from Cwd.pm in your code.
Comment on
Re: Out of a hole?
In Section
Seekers of Perl Wisdom