in reply to Are you writing a counter, or learning Perl? in thread newbie writing a counter
I'm trying to learn Perl, and adapt it to CGI. I guess from what I have learned, I see that I've opened a file and locked it, and then set the variable and closed it. Opened it again in read/write mode and wrote to the file with the new number. Then closed it. Opened up the file again to get the new number and make a variable of it. Then used it to print in html format.
Just trying to learn Perl, which is the primary language in which CGI is written. Sorry if its an inconvienance to you the way I learn it.
|