link
ErrorsCollection

link

Synthesised documentation from type/IO/Path

From type/IO/Path

See Original text in context

method link(IO::Path:D $target: IO() $link --> Bool:D)
sub    link(      IO() $targetIO() $link --> Bool:D)

Create a new hard link $link to existing $target. Returns True on success; fail with X::IO::Link if the hard link could not be created. To create a symbolic link, see symlink.