CGI::Application::Plugin::YAML

YAML methods for CGI::App
Download

CGI::Application::Plugin::YAML Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Lyle Hopkins
  • Publisher web site:
  • http://search.cpan.org/~cosmicnet/

CGI::Application::Plugin::YAML Tags


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.SYNOPSISJust 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 ); Requirements: · Perl


CGI::Application::Plugin::YAML Related Software