table of contents
other versions
- Tumbleweed 0.39.0-1.3
- Leap-16.0
- Leap-15.6
| YAML::PP::Schema::YAML1_1(3) | User Contributed Perl Documentation | YAML::PP::Schema::YAML1_1(3) |
NAME¶
YAML::PP::Schema::YAML1_1 - YAML 1.1 Schema for YAML::PP
SYNOPSIS¶
use YAML::PP;
my $yp = YAML::PP->new( schema => ['YAML1_1'] );
my $yaml = <<'EOM';
---
booltrue: [ true, True, TRUE, y, Y, yes, Yes, YES, on, On, ON ]
EOM
my $data = $yp->load_string($yaml);
DESCRIPTION¶
This schema allows you to load the common YAML Types from YAML 1.1.
METHODS¶
- register
- Called by YAML::PP::Schema
SEE ALSO¶
| 2025-02-10 | perl v5.42.0 |