http://qs321.pair.com?node_id=368964


in reply to Tie::Filesystem - request for review

To make it nice and portable, consider using File::Spec (or its functional sibling File::Spec::Functions. Using that, you don't have to have the DIR_SEP variable, as you can use catdir. For example:
my $pathname = $self->{'root'} . $DIR_SEP . $leaf;
becomes
my $pathname = catdir($self->{'root'}, $leaf);
Also
return -e ($self-{'root'} . $DIR_SEP . $leaf);
will probably not do what you expect. New testcase ;-)

Arjen