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

    CGI::Application::Plugin::YAML 0.03

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Lyle Hopkins | More programs
    Perl Artistic License / FREE
    October 19th, 2009, 13:33 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    CGI::Application::Plugin::YAML description

    YAML methods for CGI::App

    CGI::Application::Plugin::YAML is a Perl module that acts as a wrapper around YAML::Any. It uses YAML::Any so looks for the best YAML module your system has to offer. There are Pure Perl YAML modules (such as YAML::Old) that you can easily package with your app. If like me you didn't like the idea of having functions called Dump and Load imported to your namespace, then I'd use this wapper.

    SYNOPSIS

    Just a little wrapper. Useful to add YAML methods to you CGI::App object. The whole YAML module is lazy loaded, so all that gets loaded at first is this little wrapper.

     use CGI::Application::Plugin::YAML qw( :std );

    Load YAML:-

     $self->YAML->Load( $yamldata );

    Dump YAML:-

     $self->YAML->Dump( $perldata );

    The methods LoadFile and DumpFile can also be imported. You need to specify :max on your use.

     use CGI::Application::Plugin::YAML qw( :all );

    Load YAML file:-

     $self->YAML->LoadFile( $yamldata );

    Dump YAML file:-

     $self->YAML->DumpFile( $perldata );


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    YAML methods | YAML::Any wrapper | Perl module | Perl | YAML::Any | wrapper

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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