Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lexborisov/perl-html-myhtml.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'examples/detect_encoding.pl')
-rw-r--r--examples/detect_encoding.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/detect_encoding.pl b/examples/detect_encoding.pl
index cea8102..a91e597 100644
--- a/examples/detect_encoding.pl
+++ b/examples/detect_encoding.pl
@@ -25,7 +25,7 @@ $myhtml->parse($tree, $encoding, $body);
# print result
print "Print HTML Tree:\n";
-$tree->document->print_childs($tree, *STDOUT, 0);
+$tree->document->print_children($tree, *STDOUT, 0);
$tree->destroy();