J
Julia De Silva
Hi there all,
Is it possible to view/process HTML source from an URL ?
my $html_file = 'http://www.mydomain.com/index.htm';
open(HTML, "$html_file") or die "$!";
while (<HTML>) { print; }
close(HTML) or die "$!";
The above doesn't find the file or directory which I suppose makes sense
my $html_file = '/path/to/document/index.htm';
open(HTML, "$html_file") or die "$!";
while (<HTML>) { print; }
close(HTML) or die "$!";
The above works OK but is not what I wanted !
Thanks in advance for help
J
Is it possible to view/process HTML source from an URL ?
my $html_file = 'http://www.mydomain.com/index.htm';
open(HTML, "$html_file") or die "$!";
while (<HTML>) { print; }
close(HTML) or die "$!";
The above doesn't find the file or directory which I suppose makes sense
my $html_file = '/path/to/document/index.htm';
open(HTML, "$html_file") or die "$!";
while (<HTML>) { print; }
close(HTML) or die "$!";
The above works OK but is not what I wanted !
Thanks in advance for help
J