URL::Builder - Tiny URL builder
use URL::Builder; say build_url( base_uri => 'http://api.example.com/', path => '/v1/entries', query => [ id => 3 ] ); # http://api.example.com/v1/entries?id=3
URL::Builder is really simple URL string building library.
build_url(%args)
Build URL from the hash.
Arguments:
build_url_utf8(%args)
Same as build_url, but this function encode decoded string as UTF-8 automatically.
Copyright (C) Tokuhiro Matsuno.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Tokuhiro Matsuno <tokuhirom@gmail.com>
To install URL::Builder, copy and paste the appropriate command in to your terminal.
cpanm
cpanm URL::Builder
CPAN shell
perl -MCPAN -e shell install URL::Builder
For more information on module installation, please visit the detailed CPAN module installation guide.