In IO::Path§
See primary documentation in context for routine link
method link(IO::Path : IO() --> Bool)sub link( IO() , IO() --> Bool)
Create a new hard link $link
to existing $target
. Returns True
on success; fails with X::IO::Link
if the hard link could not be created. To create a symbolic link, see symlink
.