The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

File::Copy::clonefile - call clonefile system call

SYNOPSIS

  use File::Copy::clonefile qw(clonefile);

  clonefile "source.txt", "destination.txt"
    or die "failed to clonefile source.txt to destination.txt: $!";

DESCRIPTION

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 AND LICENSE

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.