in reply to How to print bunch of data in a file without breaking in to new line
You say you have stored the entire file into one variable, but perhaps your generalizing? Can you show how you stored it? for example: did you store it in a scalar ($var) or list (@var), and how did you print it to the file? perhaps when you took the html from whatever source, it contained newlines, to be sure there are none you can use
chomp()in a loop to write to this new file
|
|---|