May 21, 2000, 6:17 AM
Post #1 of 2
This is what I need help with: this is waht I have:
Excluding certain lines when writing from an array
@usrs = readdir (USRS);
That above opens the folder, reads all of it's contents into @usrs and then closes and the dir and then opens the file I want to print @usrs to. Now, I want it to print
<OPTION SELECTED>$line</OPTION>\n to USRS for each $line that IS the "name of a folder", or it could just print "any line that doesnot contain a period somewhere in it". I have tried and tried and I can't figure out a way to do this. If you could help it would be great!