Closed samuelckaufman closed 10 years ago
I started work on this but it looks like Cwd's subroutines never return undef or the empty string. Is there a reason not to just always use the Cwd subroutines or should I use the Cwd subs if they point to a file that exists?
Resolved by 9a2074371fc86b086303b6c2714ab90eab5a2b3e
per convo in irc, ->canonpath isn't so canonical, realpath would be a bit more canonical. ( see https://metacpan.org/pod/Cwd ) Ingy's suggestion was that ->canonical should return realpath || current-logic so when realpath returns undef ( ex: /made/up/directory/tree ) it'd just use the current logic.