Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

RE: Perl as a first language

by the_slycer (Chaplain)
on Aug 22, 2000 at 05:30 UTC ( [id://28950]=note: print w/replies, xml ) Need Help??


in reply to Perl as a first language

As a newbie to Perl and coding, though not at all a child, I can maybe offer some input..

I have tried C, using the K&R book, and, although I enjoyed it, I was never able to get into it. I think the reason for this is due to the fact that I had a hard time seeing how far I could take it.

With Perl, I grabbed the "Learning Perl" O'Reilly book, and immediately saw some possible uses for it. I have taken those possible uses and turned them into actual working code (though probably not the best), and have started asking people what they wanted created. I have written a phone number to word generator (and the other way around), as well as a program that monitors your machine for an IP address change, when it changes, it will then update an HTML page with the new IP.

Neither of these are the cleanest code, and some would shudder to look at it I'm sure, but they work, in a few short months I have learnt a lot more Perl than I ever did C. Immediate gratification is a very good thing for newbies (like myself).

Now that I have created my first few applications I am trying very hard to advance both my programming knowledge, as well as style - ie use strict, better structure. I have ordered the 6 cd set from O'Reilly, and am looking forward to going through Perl Programming to advance further.

Rules are important, no doubt, but IMHO, you have to give the carrot stick before applying the whip ;-)

In a semi-related note, I would like to be able to throw some code up and have someone tell me what I have done wrong, or what could be better and why, I am completely dependant on just working through the books right now, and would like to know where I need improvement (OK, OK, everywhere, but you know what I mean). I'm not sure that Perlmonks is the best place for that though, some thoughts?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (2)
As of 2024-04-25 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found