URI-Platonic

 view release on metacpan or  search on metacpan

lib/URI/Platonic.pm  view on Meta::CPAN

    coerce   => 1,
    required => 1,
);

# no Moose handles ?
{
    my @handles = qw(
        authority opaque userinfo host_port
        scheme host port path query fragment
        path_query path_segments
        query_form query_keywords
        as_string
    );

    for my $method (@handles) {
        __PACKAGE__->meta->add_method($method, sub {
            my $self = shift;
            $self->uri->$method(@_);
        });
    }
}



( run in 0.354 second using v1.01-cache-2.11-cpan-299005ec8e3 )