in reply to Re: Format script out in JSON for webpage
in thread Format script out in JSON for webpage

On this note, please everyone remember, unescaped HTML is on the keyring to your kingdom. Never ever, ever, ever, ever write a song about the Sibbie. Or forget to escape HTML.

print $q->pre( $q->escapeHTML( $ns_lookup ) );

Replies are listed 'Best First'.
Re^3: Format script out in JSON for webpage
by HBMBR (Initiate) on Mar 11, 2016 at 08:37 UTC
    Hi This does not seem to have worked the output is now
    <pre>google.co.zw. 21014 IN NS ns1.google.com. google.co.zw. 21014 IN +NS ns2.google.com. google.co.zw. 21014 IN NS ns3.google.com. google.c +o.zw. 21014 IN NS ns4.google.com.</pre>