[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Deleting files & interaction with AppleScript



On Fri, Jan 08, 1999 at 09:43:03PM -0800, Peter Prymmer wrote:
} 
} 
} BTW (changing the topic slightly to X-platform cp -r implementations) 
} does anyone see a problem with something like this apart from 
} symlinks on UNIX (hence it is cp_r and not cp_R)?  In glancing through
} perlport it appears that using '/' as a separator on 
} Acorn RISC OS path names is sometimes acceptable, and if need be it
} could be changed to use '.' if $^O eq 'riscos'. 

Without having read the source closely, one things comes to mind if
you want this to be absolutely bulletproof.  You don't want to spend
an eternity copying /dev/zero and similar "file".  But maybe
File::Copy already deals with this.  In any event, you might want to
warn users in the documentation not to get carried away.

I'd also suggest Dir::Copy or Directory::Copy as a possible alternative name.

-- 
--------
Paul J. Schinder
schinder@pobox.com

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch