Learning Perl and Stuff was .... Re: Difference of $hash, and %hash. (was Getting my head round hashes)
On Friday, Jun 6, 2003, at 10:04 US/Pacific, Greenhalgh David wrote: p0: I must confess myself to be a 'perl purist'[1] in the sense that my stained copy of the first edition of perl is as trashed as my copy of Sed and Awk. So I come to the discussion having asked, I want to cut over to perl5 for what reason? Since I had crawled up the learning curve the old fashion way, Beating My Head Against the WALL until the information sunk in p1: you will want to become friends with perldoc perl which will give you the inventory of the available online documentation about perl, and pay attention to perldoc perlboot perltoot perltootc perlobj perlbot for the stock snappy intro to basic OO-ing in perl. p2: once upon a time, a long, long, long time ago, there was not good perldoc, and the world was dark, and filled with BatWingedSpawnsOfSatanFromTheDeepistPitsOfGehenna that ate young coders and spit out their bones [..] My /real/ problem is that object oriented code is a foreign language. p3: At the risk of igniting a HolyWar, one of the advantages you gain from playing in Perl5 is that you can swing either way. So that you understand, when I use the token 'method' - it is more in line with 'method in my madness' than the OO token. If you look at some of the cooler perl modules, they allow them to be used as both 'methods', in the OO sense, or as 'functions' in the functionalist sense. In my current project I have modules that are OO'd, because the data said, Yeah I am Objectionable, so I Objected... { the voices in my head make me write it that way } I have other modules that are dull boring pedantic pedstrian stacks of functions without a new to bless an object. Because I just needed to stack some common functions in a common place and find them... p4: Scott and Andrew have offered the usual Suspects, although I will have to see this with 'Learning Perl Objects, References, and Modules' when it comes out - having Bashed my head against merely the 'perldoc' for such things. My job is with microwave comms hardware and I have no need to do software at all, so an explanation which is plain as day to people who speak the language is far from that to a raw beginner like me. [..] There is also the additional fun, namely that in the CGI space you need to understand not MERELY the basics of 'perl stuff' but also the other bits and bobs about 'html' and 'http' - depending upon your level of psychosis - and most likely a bit of Javascripting, since, well, there are things that should just be resolved on the browser side of the line BEFORE they come back to the server. So on top of the other section I include the obligatory Programming Perl - 3rd Edition - ISBN: 0-596-00027-8 { just buy it! Read it based upon what you found in the index in the back, then check the perldoc to see if some things have changed and/or 'best practices' notes show up that help explain things better... } Perl 5 pocket reference ISBN: 0-596-00032-4 { because if you have a life, sometimes it's less important to retain all the syntactic goo for RegEx, et al, than things like your name, home address, phone number. And it's embarrassing to get carpal tunnel pulling the 3rd Edition out all the time... } Dynamic HTML - the Definitive Reference - Nth Edition ISBN:0-596-00316-1 { it would have been nice to have One DOM to rule them all, but this is the 'real world' or as close as we'll get, so own the dictionary, look up the words... } JavaScript - The Definitive Guide - Nth Edition ISBN: 0-596-00048-0 { op cit, Frodo did not get to Mordor, deal with it... } Technically you are not obliged to have read the full works of J.R.R. Tolkien, you can crib with reading 'bored of the rings'. But you should read everything by Chomsky, C.S. Lewis, and most importantly all the back issues of Mad Magazine... Then you will understand the mental stains that programmers use to emmulate human conversation... Unless they are Orcs ciao drieux --- [1] as opposed to a 'perl bigOt' - who have a Big OT for Perl 8-) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Learning Perl
Hi all I have started learning perl language and to this effort I have bought the book programming perl from O\'Reilly .Can anyone tell me whether this one is okay and how to exactly go forward learning perl.What things to be learnt first etc. Any help is g8ly appreciated. Thanks and regards debraj - Sify Mail - now with Anti-virus protection powered by Trend Micro, USA. Know more at http://mail.sify.com Sify Power mail- a Premium Service from Sify Mail! know more at http://mail.sify.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Learning Perl
In a message dated 2/28/2003 5:28:56 AM Eastern Standard Time, [EMAIL PROTECTED] writes: I have started learning perl language and to this effort I have bought the book programming perl from O\'Reilly .Can anyone tell me whether this one is okay and how to exactly go forward learning perl.What things to be learnt first etc. I think Programming Perl is good for learning. There is a book also called Learning Perl from O'Reilly, but really I don't feel there is a suitable enough reason to pay a lot of money for it, especially since you have Programing Perl already. Programming Perl is very detailed, and reading that book should teach you a lot of perl. Talking to other Perl Programmers is important too. The most important thing is progressive practice. As this is a CGI mailing list, I thought I'd mention that the book I began learning off of was Perl and CGI for the World Wide Web: Visual Quickstart Guide by Castro. I thought is was good, it taught me the basics. I was just some web designer that wanted to learn some Perl. After than one I read Programming Perl, I did not buy it though, I went to the library. William
RE: Learning Perl
Perl and CGI for the World Wide Web: Visual Quickstart Guide by Castro. So true. I agree on this. I personally got the Perl: A Beginners Guide but I like how the Visual Quickstart Guides are done, except they are done on an old Mac box from the mid-90's. Other than that i love the Visual Quickstart Guides. I personally like using a Quickstart Guide or Beginners Guide and then jump straight to the reference manuals and web tutorials. There are a lot of web tutorials out there and they are good too. Just my 2 cents. Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Learning Perl
both of these options are great. but I'll tell you what I did. I bought a copy of the perl cd bookshelf on www.half.com that's the first one not the second one. Learning Perl 2nd Edition is on the cd along with perl in a nutshell, Programming Perl, 2nd edition, Perl Cookbook, Advanced Perl Programming and Learning Perl on Win32 Systems... It is an awesome resource if you don't mind reading on your computer. its a great resource for anyone serious about perl. - Original Message - From: fliptop [EMAIL PROTECTED] To: Randal L. Schwartz [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, February 28, 2003 6:28 AM Subject: Re: Learning Perl On 28 Feb 2003 at 05:31, Randal L. Schwartz opined: RLS: WilliamGunther == WilliamGunther [EMAIL PROTECTED] writes: RLS: RLS:WilliamGunther I think Programming Perl is good for learning. There RLS:WilliamGunther is a book also called Learning Perl from O'Reilly, but RLS:WilliamGunther really I don't feel there is a suitable enough reason RLS:WilliamGunther to pay a lot of money for it, especially since you RLS:WilliamGunther have Programing Perl already. RLS: RLS:There are some who would disagree here. :) RLS: RLS:Buy a copy of Learning Perl. If it's the money you're concerned RLS:about, borrow a copy, or buy a copy and resell it. We worked hard to RLS:design Learning Perl to be the best book to spend your first 30-40 RLS:hours while learning the language, no matter where you will be using RLS:Perl eventually. i have to agree with randal here - programming perl is a reference textbook, and probably isn't the best choice to help you learn how to write perl programs in a step-by-step fashion. learning perl, otoh, was written specifically for this purpose, and toward that end is a much better resource. i recently donated my copy of learning perl to my local library, so that could be another option for you to obtain it without paying (if desired). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Learning Perl
On Friday, Feb 28, 2003, at 00:41 US/Pacific, debraj bhattacharyya wrote: [..] What things to be learnt first etc. amongst the problems is where are you coming from? if you are new to programming in general, then having the learning perl will help you over both hurdles at once. There is a [EMAIL PROTECTED]mailing list that is specifically aimed at general perl beginning questions. If you are coming from a 'c' or 'c++' background, then most of the general syntax will map easily onto what you already know about programming. Either way you will also want to become fast friends with perldoc perl since perl offers a lot of internal documentation. I saved off some of the basic perl web sites at: http://www.wetware.com/drieux/pbl/perldoc/ At which point you will also want to pick up books like a. CGI Programming with perl b. Dynamic HTML - the definitive reference c. JavaScript The Definitive Guide since you will find that understanding HTML will be very useful, and that there are times when you will want your perl cgi code to generate javascript stuff... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Learning Perl
WilliamGunther == WilliamGunther [EMAIL PROTECTED] writes: WilliamGunther I think Programming Perl is good for learning. There WilliamGunther is a book also called Learning Perl from O'Reilly, but WilliamGunther really I don't feel there is a suitable enough reason WilliamGunther to pay a lot of money for it, especially since you WilliamGunther have Programing Perl already. There are some who would disagree here. :) Buy a copy of Learning Perl. If it's the money you're concerned about, borrow a copy, or buy a copy and resell it. We worked hard to design Learning Perl to be the best book to spend your first 30-40 hours while learning the language, no matter where you will be using Perl eventually. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 [EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/ Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Learning Perl
On 28 Feb 2003 at 05:31, Randal L. Schwartz opined: RLS: WilliamGunther == WilliamGunther [EMAIL PROTECTED] writes: RLS: RLS:WilliamGunther I think Programming Perl is good for learning. There RLS:WilliamGunther is a book also called Learning Perl from O'Reilly, but RLS:WilliamGunther really I don't feel there is a suitable enough reason RLS:WilliamGunther to pay a lot of money for it, especially since you RLS:WilliamGunther have Programing Perl already. RLS: RLS:There are some who would disagree here. :) RLS: RLS:Buy a copy of Learning Perl. If it's the money you're concerned RLS:about, borrow a copy, or buy a copy and resell it. We worked hard to RLS:design Learning Perl to be the best book to spend your first 30-40 RLS:hours while learning the language, no matter where you will be using RLS:Perl eventually. i have to agree with randal here - programming perl is a reference textbook, and probably isn't the best choice to help you learn how to write perl programs in a step-by-step fashion. learning perl, otoh, was written specifically for this purpose, and toward that end is a much better resource. i recently donated my copy of learning perl to my local library, so that could be another option for you to obtain it without paying (if desired). -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]