our approach
|
new tutorials
|
contact us
Perl Basics In Pictures
Basics
Variables
Numbers
Subroutines
Logic & Loops
Files
Copy the subroutine getFormData from dreamcar.pl, and paste it into the script.
TIP:
There are now two subroutines in this script:
getFormData
and
randomize
.
Save the script as
veryrandom.pl
in the
PERL PRACTICE
folder on your computer.
Upload it into the
practice
directory in your Web site, then change its permissions so that anyone can execute it.
View
veryrandom.html
in the browser, enter a number, then click the button.
Its output should look something like this:
<< BACK
NEXT >>