Sorry for the remedial question, don't really use perl and was having a problem getting this to work.
One of our scripts has some information hardcoded in it and I would simplely like to be able to have it read the information from a file instead. Was able to do it, but it wasn't taking it all correct. The file will contain HTML, and im guessing some character in there was screwing it up.
What is the easiest way to just set a variable to use all of the data in the file. Basically I just need $html = <everything in file>
Thanks for your time.
One of our scripts has some information hardcoded in it and I would simplely like to be able to have it read the information from a file instead. Was able to do it, but it wasn't taking it all correct. The file will contain HTML, and im guessing some character in there was screwing it up.
What is the easiest way to just set a variable to use all of the data in the file. Basically I just need $html = <everything in file>
Thanks for your time.