|Don't ask to ask, just ask|
Tie::Filesystem - request for reviewby erikharrison (Deacon)
|on Jun 23, 2004 at 05:02 UTC||Need Help??|
erikharrison has asked for the
wisdom of the Perl Monks concerning the following question:
It's been awhile, so pardon if this should go in Meditations.
I've been tinkering around with writing a filemanager in Perl for a while. For implementing basic functionality the abstraction that kept coming to me was to see the filesystem as a hash of hashes and scalars. The following tie is a first cut at that.
The first bit of Perl I've written in a long while follows. It passes my preliminary test code, but I'm sure it's full of bugs and gotchas. I'm hoping some of y'all could give it a look, and tell me what you think. Specifically, are there any obvious bugs, and what feature would seem useful extensions of the current behavior?
Light a man a fire, he's warm for a day. Catch a man on fire, and he's warm for the rest of his life. - Terry Pratchet