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

Re: [MacPerl] dropping aliases on droplets



Paul writes:

> I really wish I understood why people use Mac specific routines
> in their scripts when generic Perl routines exist that do the
> same job, like readdir() and File::Find.

My code actually started out with File::Find, but for some reason
it wasn't recursing down into subdirectories - probably cockpit
error, but when I used FSpIterateDirectory it worked fine. Since
I'm generally not writing scripts to port back and forth, (quite
often they're one-offs) I tend to use whatever works first.

> If you use File::Find or readdir(), you get back either full
> paths or names, both completely unresolved.

For the record however, -l **DOES** work as expected when I use
FSpIterateDirectory, so I'm thinking that means that this function
is returning the path to the alias file. However, it appears that
the rest of the perl constructs are acting on the "real" file.

> I'd suggest a litte more reading of docs and experimenting on
> your part before passing any judgements.

Hmmm... This smacks of flame, but I'll not pass any judgements,
in case it was meant to be constructive sarcasm. [wink]

...................................................................

Matthias wrote:

> I don't quite think that we were talking about quite the same
> thing that Rich noticed. 

After rereading Rich's original message, I see that you are right.
I misunderstood his point, sorry.

jay

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