Google for
Perl stock to get solutions, such as
retrieving stock info from the web or
stock retrieval tutorial. Once you get the retrieval done, then it's just a matter of running it on a timer, or as a cron job, then you can display the data by just dumping it into an html table with a CGI script.