Hi all,
I am trying to read a HTML page into my perl script.
My code is as follows:
print "Content-type: text/html\n\n";
sysopen(STATUS, "$status_page", O_RDONLY)
$html = <STAUTS>;
print $html;
close (STATUS);
However this dosent work. Has anyone any ideas?
Many thanks
Jim bob
I am trying to read a HTML page into my perl script.
My code is as follows:
print "Content-type: text/html\n\n";
sysopen(STATUS, "$status_page", O_RDONLY)
$html = <STAUTS>;
print $html;
close (STATUS);
However this dosent work. Has anyone any ideas?
Many thanks
Jim bob