YAML::LoadURI - Load YAML from URI file


YAML-LoadURI documentation  | view source Contained in the YAML-LoadURI distribution.

Index


NAME

Top

YAML::LoadURI - Load YAML from URI file

SYNOPSIS

Top

    use YAML::LoadURI;
    my $hashref = LoadURI( $uri );

EXPORT

Top

FUNCTIONS

Top

LoadURI( $uri, $opts )

    my $h  = LoadURI( 'http://search.cpan.org/dist/WWW-Contact/META.yml' );
    my $h2 = LoadURI( $uri, { raise_error => 0 } );

by default, it would croak when we can't get the file from remote. you can use { raise_error => 0 } to make it silence.

SEE ALSO

Top

YAML::Any, LWP::Simple

AUTHOR

Top

Fayland Lam, <fayland at gmail.com>

COPYRIGHT & LICENSE

Top


YAML-LoadURI documentation  | view source Contained in the YAML-LoadURI distribution.