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::EasyTags 1.071

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Darren R. Duncan | More programs
    Perl Artistic License / FREE
    November 28th, 2007, 23:06 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    HTML::EasyTags description

    A Perl module to make well-formed XHTML or HTML 4 tags, lists

    HTML::EasyTags is a Perl module to make well-formed XHTML or HTML 4 tags, lists.

    SYNOPSIS

    use HTML::EasyTags;

    my $html = HTML::EasyTags->new();
    $html->groups_by_default( 1 );

    print
    $html->start_html(
    'This Is My Page',
    $html->style( { type => 'text/css' },
    $html->comment_tag( p(
    "Click " .
    $html->a( href => 'http://search.cpan.org', text => 'here' ) .
    " for more."
    ),
    $html->hr,
    $html->table(
    $html->tr( [
    $html->th( [ 'Name', 'Count', 'URL', 'First Access' ] ),
    $html->td( [ 'Old Page', 33, 'http://www.domain.com',
    '1999/04/23 13:55:02' ] )
    ] )
    ),
    $html->hr,
    $html->form_start( method => 'post', action => 'http://localhost' ),
    $html->p(
    "What's your name? " .
    $html->input( type => 'text', name => 'name' )
    ),
    $html->p(
    "What's the combination?" .
    $html->input_group(
    -type => 'checkbox',
    -name => 'words',
    -value => ['eenie', 'meenie', 'minie', 'moe'],
    -checked => [1, 0, 1, 0],
    -text => ['Eenie', 'Meenie', 'Minie', 'Moe'] ),
    ),
    $html->p(
    "What's your favorite colour? " .
    $html->select_start( -size => 1, -name => 'color' ) .
    $html->option_group(
    -value => ['red', 'green', 'blue', 'chartreuse'],
    -text => ['Red', 'Green', 'Blue', 'Chartreuse'] ) .
    $html->select_end
    ),
    $html->input( type => 'submit' ),
    $html->form_end,
    $html->end_html;


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    XHTML tags | HTML tags | Perl module | XHTML | HTML | tags

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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