On 2002.01.08, at 03:17, Dan Kogai wrote: > I just uploaded a module called MacOSX::File, which allows you to > write programs like the ones on /Developer/Tools. You can now copy() > with resource fork and finder info, gets and sets finder flags, etc. > Hope you guys like it. Any comments are welcome. I just uploaded ver.0.30 to CPAN. There are many enhancements and bugfixes, especially possible memory leaks of MacOSX::File::Info. If you are already using it, be sure to upgrade it. It also comes with pgetfinfo and psetfinfo, which names I think are self-explanatory. In a course of writing these modules I found a bug which is left to be fixed. Files w/ Unicode names don't copy well. This is due to the fact that MoreFiles, a library from Apple, supports only FSSpec-based operations while FSRef-based, FSSpec-free operation is required to fully support Unicode names. To achieve that I have to reimplement (some parts of) MoreFiles but it won't be so easy. So I decided to release preliminary version since 0.10 had a fatal bug of possible memory leaks.... Dan the Man with Too Many APIs to refer toThread Next