github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

draegtun / builder

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (3)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (3)
    • 0.04
    • 0.03
    • 0.02
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Build XML, HTML, CSS & more using Perl — Read more

  cancel

http://search.cpan.org/dist/Builder/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Merge branch 'master' of git://github.com/cpanservice/builder 
draegtun (author)
Mon Jan 04 05:49:46 -0800 2010
commit  0570759f38be3d126ef1764896d0fc857ab7f1d5
tree    221e659c009c4d3d6641c6ad95106b943daffc63
parent  0286c1336c6cad20f2b32887f8671ff450114c50 parent  df5a0cbdebcde2ec26bd41b2fa190d3dd66d929e
builder /
name age
history
message
file .gitignore Mon Jan 04 05:02:05 -0800 2010 tidy up bits post README.pod [draegtun]
file Build.PL Loading commit data...
file Changes Fri Jan 16 01:37:34 -0800 2009 Opps... Needed IO::WrapTie as well in builder_x... [draegtun]
file MANIFEST
file MANIFEST.SKIP Mon Jan 04 05:02:05 -0800 2010 tidy up bits post README.pod [draegtun]
file MANIFEST.bak Mon Jan 04 05:02:05 -0800 2010 tidy up bits post README.pod [draegtun]
file META.yml Fri Jan 16 01:37:34 -0800 2009 Opps... Needed IO::WrapTie as well in builder_x... [draegtun]
file Makefile.PL Thu Nov 27 06:16:30 -0800 2008 first ever commit [draegtun]
file README
file README.pod Tue Dec 01 03:19:20 -0800 2009 testing README.pod formatting take 10 [draegtun]
file TODO Thu Jan 01 08:11:25 -0800 2009 Updated test suite & docs. Minor additions/fix... [draegtun]
directory lib/ Mon Jan 19 07:06:46 -0800 2009 version number one behind in POD [draegtun]
directory t/
README.pod

  • Builder
    • VERSION
    • SYNOPSIS
    • INSTALLATION
    • DEPENDENCIES
    • SUPPORT AND DOCUMENTATION
    • COPYRIGHT AND LICENCE

Builder

Build XML, HTML and (eventually!) other outputs in blocks

VERSION

version 0.04

This distribution includes the following modules:

    Builder             (0.04)
    Builder::Utils      (0.02)
    Builder::XML        (0.02)
    Builder::XML::Utils (0.02)

SYNOPSIS

Using building blocks to render XML, CSS, HTML and other outputs.

    use Builder;
    my $builder = Builder->new;
    my $xm      = $builder->block( 'Builder::XML' );
    
    
    # example 1
     
    $xm->parent( { isa => 'Mother' }, $xm->child( 'Hi Mum!' ) );
    say $builder->render;
    
    # <parent isa="Mother"><child>Hi Mum!</child></parent>
    
    
    # example 2
     
    $xm->parent( sub {
        for my $say qw/Mum Dad/ {
            $xm->child( "Hi $say" );
        }
    });
    
    say $builder->render;
        
    # <parent><child>Hi Mum</child><child>Hi Dad</child></parent>

INSTALLATION

To install this module, run the following commands:

        perl Build.PL
        ./Build
        ./Build test
        ./Build install

DEPENDENCIES

This module requires these other modules and libraries:

        Carp

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the perldoc command.

    perldoc Builder

COPYRIGHT AND LICENCE

Copyright (C) 2008,2009 Barry Walsh (Draegtun Systems Ltd)

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

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server