Re: MacOSX::File uploaded to CPAN
Fred, on 02.1.9 9:12 AM, Wilfredo Sánchez at [EMAIL PROTECTED] wrote: Have you considered adding this functionality into existing File I/O code (possibly with some new options) instead of adding whole new API? Do you mean that I modify File::Copy? That's a possibility but as I answered in MacOSX::File::Copy vs. File::Coply, I believe File::Copy should behave like /bin/cp (actually, copy() does cp -p because it copies mtime and atime) while MacOSX::File::Copy behaves like /Developer/Tools/CpMac. No one knows if someone wants to explicitly copy(._file, elsewhere/._file) Other modules in question might BSD::stat, yet another module by me that works like CORE::stat and File::stat combined with BSD-specific fields. That one works perfectly fine on MacOSX as well (Not to mention FreeBSD and NetBSD. I'm yet to test that on OpenBSD but I believe it works). Darwin is surprisingly BSD maybe except for directory layouts. Dan the PM Writer
Re: MacOSX::File uploaded to CPAN
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Dan Kogai) wrote: My name is Dan Kogai and this is my first time to drop a message here -- maybe with a good reason. 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. Hi Dan. Two comments: 1. Did you ask [EMAIL PROTECTED] about the namespace? I am not sure MacOSX is a good top-level namespace. 2. Did you look at the modules in MacPerl that do the same thing, with an eye toward compatability of interfaces? -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/
Re: MacOSX::File uploaded to CPAN
On Tuesday, January 8, 2002, at 04:46 PM, Chris Nandor wrote: In article [EMAIL PROTECTED], [EMAIL PROTECTED] (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. [...] 2. Did you look at the modules in MacPerl that do the same thing, with an eye toward compatability of interfaces? Also, File::Copy should copy files correctly on MacOS (X and otherwise), though I'm not sure whether it currently does so. Do you know the situation? -Ken
Re: MacOSX::File uploaded to CPAN
Have you considered adding this functionality into existing File I/O code (possibly with some new options) instead of adding whole new API? -Fred On Monday, January 7, 2002, at 10:17 AM, Dan Kogai wrote: My name is Dan Kogai and this is my first time to drop a message here -- maybe with a good reason. 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.
MacOSX::File uploaded to CPAN
Hi all, My name is Dan Kogai and this is my first time to drop a message here -- maybe with a good reason. 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. Yours, Dan the JAPHOMOX -- _ Dan Kogai __/ CEO, DAN co. ltd. /__ /-+-/ 2-8-14-418 Shiomi Koto-ku Tokyo 135-0052 Japan /--/--- mailto: [EMAIL PROTECTED] / http://www.dan.co.jp/ - __/ /Tel:+81 3-5665-6131 Fax:+81 3-5665-6132 PGP Key: http://www.dan.co.jp/$B!1(Bdankogai/dankogai.pgp.asc
Re: MacOSX::File uploaded to CPAN
That sounds like a great resource. Thanks, Dan. Michael Dan Kogai wrote: Hi all, My name is Dan Kogai and this is my first time to drop a message here -- maybe with a good reason. 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. Yours, Dan the JAPHOMOX -- _ Dan Kogai __/ CEO, DAN co. ltd. /__ /-+-/ 2-8-14-418 Shiomi Koto-ku Tokyo 135-0052 Japan /--/--- mailto: [EMAIL PROTECTED] / http://www.dan.co.jp/ - __/ / Tel:+81 3-5665-6131 Fax:+81 3-5665-6132 PGP Key: http://www.dan.co.jp/$B!1(Bdankogai/dankogai.pgp.asc