in reply to Out of a hole?
But that seems to be what the Cwd module does. And Cwd is a standard module, so you don't need to install anything extra (if that's what you want to avoid) and you don't have to reinvent the wheel.
If you absolutely do not want to use modules (even standard ones) for whatever reason, I would also suggest what nardo said: look at Cwd.pm, extract the appropriate functionality and put it in your code.
--ZZamboni
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: Out of a hole?
by Intrepid (Curate) on Jul 06, 2000 at 22:15 UTC |