Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    is( URI->new_abs('http://a.b.c/d/../e/', 'http://a.b.c/'), 'http://a.b
    +.c/e/' );
    
    1;
    
  2. or download this
    1..1
    not ok 1
    ...
    #          got: 'http://a.b.c/d/../e/'
    #     expected: 'http://a.b.c/e/'
    # Looks like you failed 1 test of 1.
    
  3. or download this
    use strict;
    use warnings;
    ...
    is( URI->new('http://a.b.c:80/'    )->canonical, 'http://a.b.c/',   'R
    +FC 3986, 6.2.3' );
    
    1;
    
  4. or download this
    1..6
    ok 1 - RFC 3986, 6.2.2.1
    ...
    ok 5 - RFC 3986, 6.2.3
    ok 6 - RFC 3986, 6.2.3
    # Looks like you failed 1 test of 6.