Created
October 25, 2019 16:13
-
-
Save jberger/64b41e3591012606f7813497de53c20a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use YAML::PP; | |
my $yaml = YAML::PP->new( schema => ['YAML1_1'] ); | |
# or | |
#use YAML::PP::LibYAML; | |
#my $yaml = YAML::PP::LibYAML->new( schema => ['YAML1_1'] ); | |
my $x = {'this' => 'on'}; | |
print $yaml->dump_string($x); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment