Template::Stash::ForceUTF8 man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Template::Stash::ForceUser(Contributed Perl DocumTemplate::Stash::ForceUTF8(3)

NAME
       Template::Stash::ForceUTF8 - Force UTF-8 (Unicode) flag on stash
       variables

SYNOPSIS
	 use Template::Stash::ForceUTF8;
	 use Template;

	 my $tt = Template->new(
	     LOAD_TEMPLATES => [ Template::Provider::Encoding->new ],
	     STASH => Template::Stash::ForceUTF8->new,
	 );

	 my $vars;
	 $vars->{foo} = "\x{5bae}\x{5ddd}";	    # Unicode flagged
	 $vars->{bar} = "\xe5\xae\xae\xe5\xb7\x9d"; # UTF-8 bytes

	 $tt->process($template, $vars); # this DWIMs

DESCRIPTION
       Template::Stash::ForceUTF8 is a Template::Stash that forces Unicode
       flag on stash variables. Best used with Template::Provider::Encoding.

SEE ALSO
       Template::Provider::Encoding

perl v5.14.1			  2006-03-18	 Template::Stash::ForceUTF8(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net