I have a hello.pl scripts and I want this script to be called from hello.html page when ever it gets invoked.

I feel this can be done using some CGI Script, but I dont know exactly what needs to be done, If somebody throw some lights on it it will be great.

My requirement: (Unix Server)

Simple HTML Page : hello.html (Contains variable {Total})
Simple Perl Script : hello.pl (Updates hello.html page {Total} variable = some number say 10.)

When ever i ran hello.pl script manually it is updating fine, I want this to be automated whenever hello.html is invoked.

If you have any other way also, please let me know.