I want to html tags to json string in perl
<html> <head><title>503 Service Temporarily Unavailable</title></head> <body> <center><h1>503 Service Temporarily Unavailable</h1></center> <hr><center>nginx</center> </body> </html> This is a part of html content I am having { “html”: { “head”: { “title”: “503 Service Temporarily Unavailable” }, “body”: { “center”:{ “h1”: “503 Service Temporarily Unavailable” } } } } This is what I want to get from html […]