raku-community-modules / URI

Raku realization of URI — Uniform Resource Identifiers handler
Artistic License 2.0
3 stars 14 forks source link

Make URI::DefaultPort::scheme-port a method #31

Closed jonathanstowe closed 8 years ago

jonathanstowe commented 8 years ago

By making URI::DefaultPort a class and scheme-port a method it overcomes the problem when URI is used in a module which is subsequently 'require'd

This fixes the problem I am seeing with LWP::Simple in this regard.

Fixes #30