Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Template::Plugin::Group 1.03

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Adam Kennedy | More programs
    Perl Artistic License / FREE
    September 16th, 2009, 23:12 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Template::Plugin::Group description

    Template plugin to group lists into simple subgroups

    Template::Plugin::Group is a fairly simple Perl module for grouping a list of things into a number of subgroups.

    In this intial implementation you can only group ARRAY references, and they can only be grouped into groups of a numbered size.

    In practical terms, you can make columns of things and you can break up a list into smaller chunks (for example to chop a large lists into a number of smaller lists for display purposes).

    SYNOPSIS

     # In your Template
     [% USE rows = Group(cells, 3) %]
     
     < table >
     [% FOREACH row IN rows %]
     < tr >
     [% FOREACH cell IN rows %]
     < td class="[% cell.class %]" >[% cell.content %]< /td >
     [% END %]
     < /tr >
     [% END %]
     < table >


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    template plugin | group lists | Perl module | template | plugin | group

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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