The error is from the eval , and you have literally no reason to use eval here. You're literally doing %line = %line; , which does absolutely nothing.
If you're trying to replace expanded characters, you can use expandEscape(%str) (or something like that, cant remember precise name).
Regardless, the error is as follows.
Its evaling something like %line = this is stuff from the website; which is incorrect code, as you need quotation marks around it. To put quotation marks into a string, use \" .