MATSUNO★Tokuhiro > URI-Builder-0.01 > URI::Builder

Download:
URI-Builder-0.01.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.01   Source   Latest Release: URI-Builder-0.04

NAME ^

URI::Builder - Tiny URL builder

SYNOPSIS ^

    use URI::Builder;

    say build_uri(
        base_uri => 'http://api.example.com/',
        path => '/v1/entries',
        query => [
            id => 3
        ]
    );
    # http://api.example.com/v1/entries?id=3

DESCRIPTION ^

URI::Builder is really simple URI string building library.

FUNCTIONS ^

build_uri(%args)

Build URI from the hash.

Arguments:

base_uri: Str
path: Str
query: ArrayRef[Str]|HashRef[Str]

LICENSE ^

Copyright (C) Tokuhiro Matsuno.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

Tokuhiro Matsuno <tokuhirom@gmail.com>

syntax highlighting: