File::Copy::clonefile - call clonefile system call
use File::Copy::clonefile qw(clonefile);
clonefile "source.txt", "destination.txt"
or die "failed to clonefile source.txt to destination.txt: $!";
File::Copy::clonefile is a wrapper for clonefile system call. Thus, this module only supports platforms that have clonefile system call, such as macos.
Copyright 2023 Shoichi Kaji skaji@cpan.org
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.