By doing this, you can create a link to the SSL page.
The url_for method can be created not only for HTTP URLs, but for anything that has a URL structure.
Let's create the following SSH URL.
ssh: //firstname.lastname@example.org: 20000/foo/bar.git
Do the following:
my $url = url_for ('/foo/bar.git')->to_abs->scheme('ssh') ->userinfo('kimoto')->host('somehost.com')->port(20000);
First, convert it to an absolute URL with the to_abs method, then set the protocol with the scheme method, the user name with the userinfo method, the host name with the host method, and the port number with the port method.