Name
install
Synopsis
install (\hashref
, verbose
, nonono
)
Description
Installs files. Takes the following arguments:
- \hashref
Reference to a hash, where 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
andwrite
. 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.
Get Perl in a Nutshell 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.