ingydotnet / io-all-pm

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

rename's return value is buggered. #94

Open shadowcat-mst opened 8 years ago

shadowcat-mst commented 8 years ago

Since it just passes on the new name when constructing the return value, if you give a relative path to rename to, with an absolute invocant, the rename works, but you get back a relative object, not an absolute one. When the cwd is not the same as the directory of the absolute path you called rename on, this behaviour is made of urine and may impact our ability to locate cats.