home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


copy

copy (

source

, 

dest

[, 

buffsize

])

Copies source to dest . Takes the following arguments:

source

The source string, FileHandle reference, or FileHandle glob. If source is a filehandle, it is read from; if it's a filename, the filehandle is opened for reading.

dest

The destination string, FileHandle reference, or FileHandle glob. dest is created if necessary and written to.

buffsize

Specifies the size of the buffer to be used for copying. Optional.


Previous: 8.71 File::Copy Perl in a Nutshell Next: Reference: cp
8.71 File::Copy Book Index Reference: cp

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.