Report abuse

1
2
3
4
5
6
                # Convert the saved YAML back into a hash.
                my $yaml       = YAML::Tiny->new;
                my $theme_meta = eval {
                    $yaml->read_string( $app->blog->theme_meta )->[0];
                };
                warn ( $yaml->errstr() || $@ ) unless $theme_meta;