in reply to Read first line from each file in a directory
Already did, they work.
I tried it without quotations, and it adds a new warning: "readline() on closed filehandle WRITE"
and I did check opendir and readdir, they both work. Also, I'm not working in the root folder by accident
And your opendir will only work (by accident) if you are in the root folder when you start the script.
Fruit and Vegetables
Me, that's why I'm so cool
Logic (separated into Horror and Brilliance)
Results (271 votes). Check out past polls.