Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^4: Relative URI

by ikegami (Pope)
on Apr 22, 2011 at 07:08 UTC ( #900776=note: print w/ replies, xml ) Need Help??

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.
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://900776]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2014-07-28 21:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls