head 1.1; branch 1.1.1; access ; symbols ePerl_2_2_14:1.1.1.1 RSE:1.1.1; locks ; strict; comment @# @; 1.1 date 99.05.02.14.43.39; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.05.02.14.43.39; author rse; state Exp; branches ; next ; desc @@ 1.1 log @Initial revision @ text @
@ 1.1.1.1 log @Import of ePerl 2.2.14 @ text @@demo.html
High-level HTML programming with HTML::Stream
This demonstrates how one can use the HTML-Stream package from within ePerl to do high-level HTML programming. use HTML::Stream; my $HTML = new HTML::Stream \*STDOUT; !> First, a programmed hyperlink to $HTML-> A(HREF=>"http://www.engelschall.com/sw/eperl/")-> t("the ePerl webarea")-> _A; !> .
Second, just $HTML->t("plain text with umlaut characters: äöüÄÖÜß\n" ); !>.
These were automatically converted from ISO-Latin-1 encoding to HTML entities.