June 2002
Beginner
759 pages
80h 42m
English
scheme
scheme([$some_scheme])
Sets and gets the scheme part of the URI. Such values
include: data, file, ftp, gopher, http, https, ldap, mailto, news, nntp, pop, rlogin, rsync, snews, telnet, and ssh. In the case of relative URIs,
scheme will return undef; otherwise, scheme will return the scheme in
lowercase. With $
some_scheme, scheme will set the scheme of the
current URI. scheme will
die if the scheme isn’t supported, or if it contains
non-US-ASCII characters.