Documentation for method move
Documentation for method move, assembled from the following types:
method move(IO::Path: , :)sub move(, , :)
Moves a file. Both
$from (the file to be moved) and
$to (the destination) can take arbitrary paths. If
:createonly is set to
True, the move fails if a file already exists in the destination. Returns
True upon success, or fails with X::IO::Move if the operation could not be completed.
Please use rename if a file can be moved by renaming (which is usually possible if the destination is on the same different physical storage device).