NAME

MacOSX::File::Copy - copy() on MacOS X

SYNOPSIS

use MacOSX::File::Copy;
copy($srcpath, $dstpath [,$buffersize]);
move($srcpath, $dstpath);

DESCRIPTION

MacOSX::File::Copy provides copy() and move() as in File::Copy. Unlike File::Copy (that also comes with MacOS X), MacOSX::File::Copy preserves resouce fork and Finder attirbutes. Consider this as a perl version of CpMac and MvMac which comes with MacOS X developer kit.

EXPORT

copy() and move()

AUTHOR

Dan Kogai <dankogai@dan.co.jp>

BUGS

Files w/ Unicode names fail to copy. This is due to the fact that MoreFiles only supports FSSpec-based operations while Unicode names really requires purely FSRef-based operations (in other words, FSSpec-free).

I am planning to rerite Copy.xs so that it is FSSpec-free. Give me a little bit more time....

SEE ALSO

File::Copy CpMac(1) MvMac(1)

COPYRIGHT

Copyright 2002 Dan Kogai <dankogai@dan.co.jp>

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

This modules uses MoreFiles of Apple Sample Code unchanged. http://developer.apple.com/samplecode/Sample_Code/Files/MoreFiles.htm

Copyright 1992-2001 Apple Computer, Inc. Portions copyright 1995 Jim Luther All rights reserved.