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.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    Any::Renderer 1.014

    Download button

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

    License / Price:

    Last Updated:

    Category:
    BBC | More programs
    Perl Artistic License / FREE
    October 20th, 2009, 15:51 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Any::Renderer description

    Common API for modules that convert data structures into strings

    A renderer in this context is something that turns a data structure into a string. This includes templating engines, serialisers etc.

    Any::Renderer is a Perl module that provides a consistent API to these services so that your application can generate output in an extensible variety of formats. Formats currently supported include:

     - XML (via XML::Simple)
     - XML+XSLT
     - Data::Dumper
     - Javascript, Javascript::Anon & JSON
     - UrlEncoded
     - The formats supported by Data::Serializer (e.g. Config::General and Config::Wrest)
     - Any templating language supported by Any::Template

    The module will discover any backend modules and offer up their formats. Once loaded, Any::Renderer will look for a module to handle any new formats it doesn't know about, so adding new formats in a persistent environment won't require the module to be reloaded. However if you CHANGE which module provides a format you will need to reload Any::Renderer (e.g. send a SIGHUP to modperl).

    SYNOPSIS

     $renderer = new Any::Renderer ( $format, \%options );
     $string = $renderer->render ( $structure );
     $bool = Any::Renderer::requires_template ( $format );
     $list_ref = Any::Renderer::available_formats ();



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    convert data structures | Perl module | Perl | converter | structures

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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