Description
Perl scripts can perform common shell-like file operations through portable functions instead of calling external commands. This is useful for automation that needs to copy, move, remove, or inspect files across platforms.
It is a developer library. File operations can be destructive, so scripts should validate paths and avoid acting on untrusted input without confirmation.