Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Why does stat work sporadically?by eg (Friar) |
on Feb 27, 2001 at 06:20 UTC ( [id://61020]=note: print w/replies, xml ) | Need Help?? |
In addition to your books and newsgroups, you might want to add searching through the bundled, online documentation as part of your looking-things-up routine. In particular, perlfunc says, under the entry for readdir: If you're planning to filetest the return values out of a readdir(), you'd better prepend the directory in question. Otherwise, because we didn't chdir() there, it would have been testing the wrong file.
In Section
Seekers of Perl Wisdom
|
|