Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    my $yaml = YAML::Tiny->read( "$orders_yam" ) or die "Couldn't read fil
    +e: errno($!) : errstr =", YAML::Tiny->errstr;
    my $root = $yaml->[1]->{email};
    print "\nFirst item is: $root\n";
    
  2. or download this
    #customers and order's
    --- 
    ...
    total: 7.96
    ---
    email: cowboy@bebop.com