Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    HTML::Template::Extension::DOC 0.26

    Download button

    No screenshots available
    Downloads: 580  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Bruni Emiliano | More programs
    Perl Artistic License / FREE
    August 25th, 2006, 09:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::Template::Extension::DOC description

    Plugins for comments in template.

    HTML::Template::Extension::DOC are plugins for comments in template.

    SYNOPSIS

    use HTML::Template::Extension;

    my $text = qq
    |
    < HTML >< HEAD >< /HEAD >< BODY >
    < H1 >This is a template example...< /H1 >
    < TMPL_DOC >An example use of TMPL_DOC tag < /TMPL_DOC >
    The sum between 1+1 is: < TMPL_VAR NAME="result" >
    < /BODY >< /HTML >
    |;

    my $comp = new HTML::Template::Extension(
    scalarref => $text,
    plugins=>["DOC"],
    );

    $comp->param('result' => 1+1);

    print $comp->output;

    # OUTPUT:
    #
    # < HTML >< HEAD >< /HEAD >< BODY >
    # < H1 >This is a template example...< /H1 >
    # The sum between 1+1 is: 2
    # < /BODY >< /HTML >


    DOC plugin add a < TMPL_DOC >some comments< /TMPL_DOC > to standard HTML::Template syntax to permit to add comments to template that, for indeed, a web graphic designer can view in a WYSIWYG environment.

    All text between < TMPL_DOC > and < /TMPL_DOC > and tag itself will be deleted before HTML::Template parsing and retuning template output.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    Perl module | HTML Template | Extension DOC | HTML::Template::Exte | HTML | Template

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM