On Friday, May 24, 2002, at 07:42 , Torres, Jose wrote:
> Here's the code I currently have to do this: > > $startDir = $ARGV[0]; > > ## Main Program ## > $dir = (); > opendir (DIR, $startDir); > foreach $dir (readdir(DIR)) { > if(($dir ne ".") && ($dir ne "..")){ > CreateChecksum($dir); > } > } > closedir DIR; [..] you really would want to become aware of the basic problems of tree traversals - since you have a variety of issues here... like understanding that readdir is going to return a list of 'names' out of the 'dirblock' - some of which will be sub-directories in that dir, some of which are just flat files you may want to look at something like: http://www.wetware.com/drieux/pbl/Sys/Admin/dirWalkerForCheckSum.txt ciao drieux If you want to send me the check, check out my resume it has the mailing address where I take donations to put my kids through college... as well as try to work on the fact that now that my daughter has opted out of that TomBoy thing her fashion choices are going to be limited if she really wants to follow in her mother's trade - since there is like no way to get threat level III body armour in under a strapless evening gown.... which I guess the up side is that we can do scully's wardrobe on a whole lot less money..... Why couldn't she have gone into, I don't know, "a grunge thing"? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]