Dave Beckett <[EMAIL PROTECTED]> writes:
> I needed to manipulate rsync URIs and since they are pretty simple
> rsync://[USER@]HOST[:PORT]/SRC
> (from man rsync) I created URI/rsync.pm based on URI::http.
>
> It would be useful if this made it into the URI module, although it
> isn't a standardised URI.
Seems OK.
> ----------------------------------------------------------------------
> URI/rsync.pm
> ----------------------------------------------------------------------
> package URI::rsync;
> require URI::http;
> @ISA=qw(URI::http);
>
> sub default_port { 873 }
>
> 1;
>
I made it look like this instead.
Regards,
Gisle
------------------------------------------------------------------------
package URI::rsync; # http://rsync.samba.org/
# rsync://[USER@]HOST[:PORT]/SRC
require URI::_server;
require URI::_userpass;
@ISA=qw(URI::_server URI::_userpass);
sub default_port { 873 }
1;