RE: skip first array entry and exit foreach loop only

2002-06-04 Thread David vd Geer Inhuur tbv IPlib
Hi, This is indeed much faster, just substitute the last directory off of the path when you're done checking with the current. Looks better indeed !! Nikola, using File::find searches all the files and as the directory's can hold many files and directory's I prefer to just do the test on 1 fil

RE: skip first array entry and exit foreach loop only

2002-06-04 Thread Bob Showalter
> -Original Message- > From: David vd Geer Inhuur tbv IPlib > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 9:05 AM > To: [EMAIL PROTECTED] > Subject: skip first array entry and exit foreach loop only > > > > Hi, > > I am looking for a nice solution for the following proble

RE: skip first array entry and exit foreach loop only

2002-06-04 Thread Nikola Janceski
use File::Find and turn on the option 'bydepth'; http://search.cpan.org/doc/GSAR/perl-5.6.1-TRIAL3/lib/File/Find.pm > -Original Message- > From: David vd Geer Inhuur tbv IPlib > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 9:05 AM > To: [EMAIL PROTECTED] > Subject: skip firs