prospero.pm

来自「ARM上的如果你对底层感兴趣」· PM 代码 · 共 28 行

PM
28
字号
package URI::URL::prospero;
require URI::URL::_generic;
@ISA = qw(URI::URL::_generic);

# RFC 1738 says:
#
#   A prospero URLs takes the form:
#
#      prospero://<host>:<port>/<hsoname>;<field>=<value>
#
#   where <host> and <port> are as described in Section 3.1. If :<port>
#   is omitted, the port defaults to 1525. No username or password is
#   allowed.
#
#   The <hsoname> is the host-specific object name in the Prospero
#   protocol, suitably encoded.  This name is opaque and interpreted by
#   the Prospero server.  The semicolon ";" is reserved and may not
#   appear without quoting in the <hsoname>.

sub default_port { 1525 }       # says rfc1738, section 3.11

sub _parse {
    my($self, $init) = @_;
    $self->URI::URL::_generic::_parse($init, qw(netloc path params frag));
}

1;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?