go ahead... be a heretic | |
PerlMonks |
Re: Re: reading directoriesby merlyn (Sage) |
on Sep 15, 2001 at 05:45 UTC ( [id://112591]=note: print w/replies, xml ) | Need Help?? |
There is no promise that the first two elements returned from a readdir are dot and dotdot, so this code is dangerously unportable. It might not even work on your own machine tomorrow. -- Randal L. Schwartz, Perl hacker
In Section
Seekers of Perl Wisdom
|
|