- or download this
for my $filename (@files)
{
...
#next if $filename eq '2020-02-17-00:10:01.html';
my $doc = $parser->parse_file($BASE_DIR . $filename);
print "doc=", Dumper($doc), $doc->toString;
- or download this
{my home directory}/met-office-datahub/met-office-forecasts/2020-02-17
+-00:10:01.html
doc=$VAR1 = bless( do{\(my $o = '93912432739248')}, 'XML::LibXML::Docu
+ment' );
<?xml version="1.0" encoding="windows-1252"?>
<html xmlns="http://www.w3.org/1999/xhtml"><head/><body/></html>
Can't call method "toString" on an undefined value ...
- or download this
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=Edge">