Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

File::Copy

Native Rust implementation built into the interpreter. Runtime: P5. See original documentation for the full Perl reference.

Functions

copy

copy a file, return 1 on success, 0 on failure.

Supports filenames and filehandles for both $from and $to.

move

rename or copy+unlink, return 1 on success, 0 on failure.