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

Re: [MacPerl] Folder recursion and recognition problem




At 4:25 PM 6/3/96, Ed James wrote:

>
>readdir returns just the list of names in the directory, not the full paths.
>You will need to either chdir to that dir before the stat (-d xxx) AND
>chdir back when down (::), OR you will need to build a new path by
>joining the dir and path together, adding a : in between if there isn't
>one already.

Thanks to you and to the rest on the MacPerl list for helping out a MacPerl
newbie (I got several replies, plus a couple via email.) Your suggestion
worked perfectly. (I didn't try the path building approach yet. I'm sure
i'll need to, but i want to enjoy the one success with this i've  had today
before i get confused again!

Ben