On Tuesday 24 July 2001 22:17, Gonyou, Austin wrote:
> What is the best way to turn a filehandle into an array?
Your code is about directory handles...
> --snip--
> if ($dr == null)
> $dir=opendir("./");
> else
> $dir=opendir("$dr");
>
> exec("ls $dir", $ls);
re-read the
What is the best way to turn a filehandle into an array?
This is the code I've got now, but I don't like it because it's rather in
efficient for my purposes. I can format this to be much prettier, but I'm
not too concerned about it right now. I'd just like to get the filehandles
to work.
--
2 matches
Mail list logo