From 31994a4bf6a126aadae4bf736b40bfae60e9adf8 Mon Sep 17 00:00:00 2001 From: Yorhel Date: Mon, 12 May 2025 12:38:23 +0200 Subject: [PATCH] Doc typos --- FU.pm | 4 ++-- FU/XMLWriter.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/FU.pm b/FU.pm index 440a14c..9c85edf 100644 --- a/FU.pm +++ b/FU.pm @@ -994,7 +994,7 @@ FU - A Lean and Efficient Zero-Dependency Web Framework. } FU::get qr{/hello/(.+)}, sub($who) { - my_html_ "Website title", sub { + myhtml_ "Website title", sub { h1_ "Hello, $who!"; }; }; @@ -1097,7 +1097,7 @@ returning strings deal with perl Unicode strings, not raw bytes. =item use FU -procname => $name When the C<-procname> import option is set, FU automatically updates the -process name (as displayed in L and L, see `$0`) with +process name (as displayed in L and L, see C<$0>) with information about the current process, prefixed with the given C<$name>. =item FU::init_db($info) diff --git a/FU/XMLWriter.pm b/FU/XMLWriter.pm index fe755f1..1b964ee 100644 --- a/FU/XMLWriter.pm +++ b/FU/XMLWriter.pm @@ -263,7 +263,7 @@ and C<"> are replaced with their XML entity. All of the functions mentioned in this document can be imported individually. There are also two import groups: - use FU::XMLWriter ':html_'; + use FU::XMLWriter ':html5_'; Exports C, C, C, C and all of the C<< _ >> functions mentioned above.