Hello Peter,
I would guess something like: MacOSX::File would be able to do the
job (http://search.cpan.org/~dankogai/MacOSX-File-0.71/File.pm)
But I have not been able to get it to differentiate between
directories and bundles, but then again neither does the standard:
/Developer/Tools/GetFileInfo
You can have a look at my program to generate aliases for OSX
applications:
http://cph.pm.org/svn/trunk/scripts/macaliaser.pl
jonasbn
--
AIM: BjonasN Gtalk: [EMAIL PROTECTED]
ICQ: 62401545 MSN: [EMAIL PROTECTED]
On 11/08/2007, at 11.49, Peter J. Hartmann wrote:
Hi,
I'd like to be able to tell the difference between a nested folder
structure and a Mac OS package from a Perl script?
If a directory item is a (nested) folder, I want to recursively
scan its contents, if it is a package, I'd like to leave it alone.
Thanks for any pointers into the right direction!
Peter
___ Peter Hartmann ________
mailto:[EMAIL PROTECTED]