Subject: | my_blah fails on OS X if the target is an alias. |
[OS X 10.10.5, Perl 5.20.2]
On my Macbook Pro ~/Movies is an alias (not a symlink) to a directory on another disk. File::HomeDir does not expect aliases, only directories or symlinks.
https://metacpan.org/pod/MacOSX::Alias can read aliases, though it relies on the rather large Mac::Carbon. I wonder if there's a quick and dirty way to extract the path?
On my Macbook Pro ~/Movies is an alias (not a symlink) to a directory on another disk. File::HomeDir does not expect aliases, only directories or symlinks.
https://metacpan.org/pod/MacOSX::Alias can read aliases, though it relies on the rather large Mac::Carbon. I wonder if there's a quick and dirty way to extract the path?