1. Upload subsimple.pl to the perlscripts directory on the Web server, then set its permissions so that anyone can execute it.
  2. Open perllinks.html and insert a new link to subsimple.pl:

    <p><a href="http://www.yourwebsite.com/cgi-bin/perlscripts/subsimple.pl">13. Execute a subroutine.</a></p>
  3. Save perllinks.html, then upload it to the home directory in your Web site.
  4. In the browser, go to:

    www.yourwebsite.com/perllinks.html
  5. Click the Execute a subroutine link.

    The output should look like this: