ingydotnet / io-all-pm

All in One Perl IO
http://search.cpan.org/dist/IO-All/
38 stars 20 forks source link

updir() is broken #92

Open paxunix opened 8 years ago

paxunix commented 8 years ago

All it ever does is return an object that stringifies to "..", since that's what File::Spec returns (on a Unix system, anyway). This shouldn't be true:

io("./a/b/c")->updir()->filename() eq ".."