diff options
Diffstat (limited to 'examples/singlefile.pl')
-rwxr-xr-x | examples/singlefile.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/singlefile.pl b/examples/singlefile.pl index 0a9445a..88f8d09 100755 --- a/examples/singlefile.pl +++ b/examples/singlefile.pl @@ -19,7 +19,7 @@ use lib $ROOT.'/lib'; # load TUWF and import all html functions -use TUWF ':html5', 'mkclass'; +use TUWF ':Html5', 'mkclass'; TUWF::set debug => 1; @@ -46,9 +46,9 @@ TUWF::get '/' => sub { TUWF::get qr{/sub/(?<capturename>.*)} => sub { # output a plain text file containing $uri tuwf->resHeader('Content-Type' => 'text/plain; charset=UTF-8'); - lit tuwf->capture(1); - lit "\n"; - lit tuwf->capture('capturename'); + Lit tuwf->capture(1); + Lit "\n"; + Lit tuwf->capture('capturename'); }; |