Doc typos
This commit is contained in:
parent
32c8fc1b89
commit
31994a4bf6
2 changed files with 3 additions and 3 deletions
4
FU.pm
4
FU.pm
|
|
@ -994,7 +994,7 @@ FU - A Lean and Efficient Zero-Dependency Web Framework.
|
||||||
}
|
}
|
||||||
|
|
||||||
FU::get qr{/hello/(.+)}, sub($who) {
|
FU::get qr{/hello/(.+)}, sub($who) {
|
||||||
my_html_ "Website title", sub {
|
myhtml_ "Website title", sub {
|
||||||
h1_ "Hello, $who!";
|
h1_ "Hello, $who!";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -1097,7 +1097,7 @@ returning strings deal with perl Unicode strings, not raw bytes.
|
||||||
=item use FU -procname => $name
|
=item use FU -procname => $name
|
||||||
|
|
||||||
When the C<-procname> import option is set, FU automatically updates the
|
When the C<-procname> import option is set, FU automatically updates the
|
||||||
process name (as displayed in L<top(1)> and L<ps(1)>, see `$0`) with
|
process name (as displayed in L<top(1)> and L<ps(1)>, see C<$0>) with
|
||||||
information about the current process, prefixed with the given C<$name>.
|
information about the current process, prefixed with the given C<$name>.
|
||||||
|
|
||||||
=item FU::init_db($info)
|
=item FU::init_db($info)
|
||||||
|
|
|
||||||
|
|
@ -263,7 +263,7 @@ and C<"> are replaced with their XML entity.
|
||||||
All of the functions mentioned in this document can be imported individually.
|
All of the functions mentioned in this document can be imported individually.
|
||||||
There are also two import groups:
|
There are also two import groups:
|
||||||
|
|
||||||
use FU::XMLWriter ':html_';
|
use FU::XMLWriter ':html5_';
|
||||||
|
|
||||||
Exports C<tag_()>, C<html_()>, C<lit_()>, C<txt_()> and all of the C<<
|
Exports C<tag_()>, C<html_()>, C<lit_()>, C<txt_()> and all of the C<<
|
||||||
<html-tag>_ >> functions mentioned above.
|
<html-tag>_ >> functions mentioned above.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue