Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Are you writing a counter, or learning Perl?

by petdance (Parson)
on Aug 07, 2001 at 01:15 UTC ( [id://102619]=note: print w/replies, xml ) Need Help??


in reply to newbie writing a counter

I've setup plenty of "free" perl scripts.

What's your goal here? Are you trying to get a counter running, or are you trying to learn Perl?

If you're trying to get a counter running, then I would suggest that you not reinvent the wheel and just use a canned script.

If you're trying to learn Perl, then doing it through CGI is not the way to do it. merlyn's 3rd edition of Learning Perl just came out, and is the canonical text for learning our beloved language.

It seems that you're just trying to throw things together without really learning Perl, and expecting us to clean up your mess. People who clean up things like that are called "consultants", and there are any number of them here at the Monastery who would be glad to send you a rate card.

xoxo,
Andy
--
<megaphone> Throw down the gun and tiara and come out of the float! </megaphone>

  • Comment on Are you writing a counter, or learning Perl?

Replies are listed 'Best First'.
Re: Are you writing a counter, or learning Perl?
by jrbush82 (Initiate) on Aug 07, 2001 at 01:24 UTC
    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://102619]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-16 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found