in reply to Re: Its not supposed to!
in thread Its not supposed to!
because it would still recurse, and it really doesn't matter what I'm assigning the return of the recursion (like $trash) because I'm pushing every $leaf to @dirs right after anyway? What really matters is the return of the 1st call and not the $trash.foreach $leaf (glob("$startdir/*")) { if (-d $leaf) { $trash = GetDirs($leaf); push(@dirs,$leaf); } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: RE: Re: Its not supposed to!
by chromatic (Archbishop) on Apr 18, 2000 at 06:19 UTC |