Name

install

Synopsis

install (\hashref, verbose, nonono)

Installs files. Takes the following arguments:

\hashref

Reference to a hash, in which each key is a directory to copy from and the value is the directory to copy into. The whole tree below the “from” directory is copied, with timestamps and permissions preserved.

The hash has two additional keys: read and write. After copying everything, install writes the list of target files to the file named by $hashref->{write}. If there is another file named by $hashref->{read}, its contents are merged into the written file.

verbose

Verbose switch.

nonono

Don’t-really-do-it switch.

Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.