Hello.
I am so very new to perl and cgi but am learning. Anyway I was just making this simple script so that I could run nmap remotely by using my web server. I used the system() procedure to run nmap. Everything works fine except for the fact that when it prints it to the web page the formatting does not take into account the newlines and such. Basically, what I am asking is how I can format the text to be printed to the webpage to look exactly like when I use nmap in the console.
I am simply using the following to print it out.
Any suggestions on how I could get this to work like I want would be great. Thanks.
Digitalx