8 my $u = URI->new('rsync://gisle@perl.com/foo/bar');
10 print "not " unless $u->user eq "gisle";
13 print "not " unless $u->port eq 873;
16 print "not " unless $u->path eq "/foo/bar";
21 print "not " unless $u eq 'rsync://gisle@perl.com:8730/foo/bar';