HTML::Template::Compiled::Plugin::VBEscape - VB-Script-Escaping for HTC


NAME

HTML::Template::Compiled::Plugin::VBEscape - VB-Script-Escaping for HTC

Back to Top


VERSION

0.03

Back to Top


SYNOPSIS

    use HTML::Template::Compiled::Plugin::VBEscape;
    my $htc = HTML::Template::Compiled->new(
        plugin    => [qw(HTML::Template::Compiled::Plugin::VBEscape)],
        tagstyle  => [qw(-classic -comment +asp)],
        scalarref => \<<'EOVB');
    );
    <script language="VBScript"><!--
        string1 = "<%= attribute ESCAPE=VB%>"
        string2 = "<%= cdata ESCAPE=VB%>"
    '--></script>
    EOVB
    $htc->param(
        attribute => 'foo "bar"',
        cdata     => 'text "with" double quotes',
    );
    print $htc->output();

Output:

    <script language="VBScript"><!--
        string1 = "foo ""bar"""
        string2 = "text ""with"" double quotes"
    '--></script>

Back to Top


DESCRIPTION

VB-Script-Escaping for HTML::Template::Compiled

Back to Top


EXAMPLE

Inside of this Distribution is a directory named example. Run this *.pl files.

Back to Top


SUBROUTINES/METHODS

register

gets called by HTC

escape_vb

Escapes data for VB CDATA or for VB attributes.

Back to Top


DIAGNOSTICS

none

Back to Top


CONFIGURATION AND ENVIRONMENT

none

Back to Top


DEPENDENCIES

the HTML::Template::Compiled manpage

Back to Top


INCOMPATIBILITIES

not known

Back to Top


BUGS AND LIMITATIONS

not known

Back to Top


SEE ALSO

the HTML::Template::Compiled manpage

Back to Top


AUTHOR

Steffen Winkler

Back to Top


LICENSE AND COPYRIGHT

Copyright (c) 2007 - 2009, Steffen Winkler <steffenw at cpan.org>. All rights reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Back to Top

 HTML::Template::Compiled::Plugin::VBEscape - VB-Script-Escaping for HTC