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

Re: [MacPerl] Unique File Name



At 16.30 +0200 98-07-14, w e b s l a v e wrote:
>I'm reading it a directory and then looping thru it, I'm just
>stuck on the recursive part - terrible mental block today,
>can anyone help me out?

What about:

while (-e $dir.$filename) {
   $filename = increment($filename);
}


___Carl_Johan_Berglund_________________________
   Adverb Information
   carl.johan.berglund@adverb.se
   http://www.adverb.se/



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