diff options
-rw-r--r-- | Changes | 2 | ||||
-rw-r--r-- | README.md | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ Revision history for URI -{{$NEXT}} +5.07 2021-01-29 22:52:20Z - s/perl.com/example.com/ in examples and tests (GH#81) (Olaf Alders) 5.06 2021-01-14 16:01:13Z @@ -4,13 +4,13 @@ URI - Uniform Resource Identifiers (absolute and relative) # SYNOPSIS - use URI; + use URI (); - $u1 = URI->new("http://www.perl.com"); + $u1 = URI->new("http://www.example.com"); $u2 = URI->new("foo", "http"); $u3 = $u2->abs($u1); $u4 = $u3->clone; - $u5 = URI->new("HTTP://WWW.perl.com:80")->canonical; + $u5 = URI->new("HTTP://WWW.example.com:80")->canonical; $str = $u->as_string; $str = "$u"; @@ -21,7 +21,7 @@ URI - Uniform Resource Identifiers (absolute and relative) $frag = $u->fragment; $u->scheme("ftp"); - $u->host("ftp.perl.com"); + $u->host("ftp.example.com"); $u->path("cpan/"); # DESCRIPTION |