You can create a symlink in Perl 6:
my $symlink-path = ...;
$target.symlink: $symlink-path;
Given just the symlink how can you get the target path?
$symlink-path.IO.????
I'm looking for the exact string that is the target, not any interpretation of that (such as .resolve
).
:completely
requires the target to exist. That's not a requirement of symlinks though. Furthermore, this has to work even if you don't have one of those components in your program. – Overstate