ok, i've developed a cgi that scans a server to test wether ports are open or not for a project that i am on.
my only problem is that how do i get perl to open up a file, read the contense of that file (line by line) and put them into a variable.
or even better, now that i think about it while i write this, how could i get it to parse an nmap output line by line?