This software provides YAML methods for CGI::App, that can be used to simplify and streamline the process of creating CGI web applications. It offers a range of functions for working with YAML data, making it easier to manage complex configurations and data sources.
The module can be used to add YAML methods to your CGI::Application object. It's important to note that the entire YAML module is lazily loaded, so only this small wrapper gets loaded initially.
To use the Load and Dump methods, import the module with a "qw(:std)" argument:
```
use CGI::Application::Plugin::YAML qw( :std );
```
Loading YAML data and dumping Perl data is as simple as:
```
$self->YAML->Load( $yamldata );
$self->YAML->Dump( $perldata );
```
The LoadFile and DumpFile methods can also be imported using the ":max" argument. For this, you can import the module with the following snippet:
```
use CGI::Application::Plugin::YAML qw( :all );
```
Loading and dumping YAML files can then be done as follows:
```
$self->YAML->LoadFile( $yamldata );
$self->YAML->DumpFile( $perldata );
```
Overall, CGI::Application::Plugin::YAML makes it easy to add YAML functionality to your Perl application, regardless of the YAML module you prefer.
Version 0.03: N/A