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

Re: [MacPerl] Please help me with FSpIterateDirectory




>>And it seems to return information about only the first file in the
>>directory. What have I done wrong?
>
>Jim,
>
>Your subroutine never returns! Note that it never prints the "Finished,"
>either. Add
>
>	return 0;
>
>to the end of the subroutine, and it will do what you want.
>

D'oh!

That did it..

Actually, it WAS printing "Finished" on my machine.

But I put in the return 0; and it works as advertised.

Thanks again!

Jim

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