Re: error "called to early to check prototype" using recursive function

2005-01-28 Thread John W. Krahn
S.A. Birl wrote: 2 problems, maybe related. 1) My recursive program is generating a "called to early to check prototype" error. Ive Googled for answers but cannot find a solution That could be because you spelled "too" wrong. In any case, you should have the description of that warning messag

error "called to early to check prototype" using recursive function

2005-01-28 Thread S.A. Birl
2 problems, maybe related. 1) My recursive program is generating a "called to early to check prototype" error. Ive Googled for answers but cannot find a solution 2) When this executes, it traverses 8 directories in F:\\Inetpub\\Develop then stops and traverses 8 directories in F:\\Inetpub\

RE: Spam:RE: Recursive function

2004-11-23 Thread Michael Kraus
G'day... These lines look wrong (but I may be wrong): > $exit_status = `dir` ; > print "\nCurrently in - > >\n$exit_status\n==\nDepth > ($depth)\n" ; Shouldn't that be: $exit_status = `pwd`; Also, check out the glob function - it'

Re: Recursive function

2004-11-23 Thread Dave Gray
> I know I can use the "find.pm". But, I'd like to know why the recoursive > I did is wrong. There are no debug print statements in your code. There are also a lot of 'next' statements, which always make me suspicious. See comments in chopped-up code below. Good luck, Dave > == Start of code [sn

RE: Recursive function

2004-11-23 Thread Eaton Elyahu Doron
4 9:44 PM To: [EMAIL PROTECTED] Subject: Recursive function Hi all, Why is the following won't work recursively ? The purpose is simple, search directory inside $depth levels for directories. But since the stop recursive is when depth is "0", after the search starts the first

RE: Recursive function

2004-11-21 Thread Eaton Elyahu Doron
ROTECTED] Sent: Wednesday, November 17, 2004 7:39 PM To: Eaton Elyahu Doron Cc: [EMAIL PROTECTED] Subject: Re: Recursive function > The purpose is simple, search directory inside $depth levels for > directories. No need

Re: Recursive function

2004-11-17 Thread Dave Gray
> The purpose is simple, search directory inside $depth levels for > directories. No need to reinvent the wheel: -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Recursive function

2004-11-16 Thread Eaton Elyahu Doron
Hi all, Why is the following won't work recursively ? The purpose is simple, search directory inside $depth levels for directories. But since the stop recursive is when depth is "0", after the search starts the first directory it stops when it reaches the level in that first directory and doe