You already know how to upload a CGI script to NETSRV and make it
executable on NETSRV. Try the example on page 186/187.
(Remember to change the path to Perl at the top of the script.)
Continue on to try the other form examples in the chapter. As you
finish each example, email me the URL of your script.
When you get to uploading and running the GuestBook program (page
194), you will need a bit of Perl to create the temporary chat file and give
it 0666 permissions, since you don't have direct access to
the Unix shell on NETSRV. You can write a very simple CGI script to do
this for you. The book suggests that you name the chat text file /usr/tmp/chatfile;
this may cause problems if two identical GuestBook programs use the
same name. Pick a different file name for your own GuestBook.
When you reach the section on Web Automation with LWP, be advised
that NETSRV does not have LWP installed. Skip that section. We
will do it using Linux and the Apache web server.
At the very back of your "Learning Perl" book, you'll find a page
titled "How to stay in touch with O'Reilly". It gives
an FTP address from which you can download some of the larger examples in the
O'Reilly books.
Most O'Reilly examples are Unix tar/compressed files (suffix *tar.gz)
and you unpack them as follows (see "man gunzip"
and "man tar" for details):