our approach
|
new tutorials
|
contact us
Perl Basics In Pictures
Basics
Variables
Numbers
Subroutines
Logic & Loops
Files
Upload
subsimple.pl
to the
perlscripts
directory on the Web server, then set its permissions so that anyone can execute it.
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>
Save
perllinks.html
, then upload it to the home directory in your Web site.
In the browser, go to:
www.yourwebsite.com/perllinks.html
Click the
Execute a subroutine
link.
The output should look like this:
<< BACK
NEXT >>