|Problems? Is your data what you think it is?|
Re: (tye)Re: Recursive opendir withoutby bobione (Pilgrim)
|on Apr 11, 2001 at 21:52 UTC||Need Help??|
No, it's not a problem of "/" (even if my first exemple could be wrong).
I mean : if I take ton's code and replace $dh by $dir :
(I comment important lines).
use strict warm me : Can't use string ("toto") as a symbol ref while "strict refs" in use at test.pl line 13. (that mean during the readdir()).
And when I was trying to explain you, I think I understood why ;) (but not sure)
It could be that readdir() don't know if $dir is a "Directory Handler" or the "Directory" itself...