From jandanz at bigfoot.com Mon May 5 03:26:53 2003 From: jandanz at bigfoot.com (James @bigfoot.com) Date: Thu Aug 5 00:24:19 2004 Subject: Code Check In-Reply-To: References: Message-ID: <1052123214.26999.11.camel@argon> I want to thank Michael and Grant for their comments on my PERL code. Trying to develop code in isolation is very difficult. You just do not pick up good tips from the guy in the next cubicle when you you do this stuff at home. Yes, you are both right I am not a novice programmer having spent several years in the 1970s, and beyond, using COBOL, and then PL/1, a small bit of IBM Assembler, and a great deal of REXX. I think that my grounding in COBOL means that I tend to write PERL like a COBOL program. I put all the declarations at the front because of this. I shall be investigating the changes that you both suggest and working them into my program. It is not possible to implement them all as I am actually adding a program to an existing package called Greymatter, and the configuration file needs to be edited by "users" who are not always computer literate people. The suggestions to use modules like XML::Simple, among others, intrigued me. How can you find a module to do a job, if you you don't know what the module is called? Once again thanks to you both. No doubt I will be back with some more questions soon. -- ==================== James J. Eaton jandanz@bigfoot.com ==================== == From ewen at naos.co.nz Mon May 5 05:33:23 2003 From: ewen at naos.co.nz (Ewen McNeill) Date: Thu Aug 5 00:24:19 2004 Subject: Code Check In-Reply-To: Message from "James @bigfoot.com" of "05 May 2003 20:26:53 +1200." <1052123214.26999.11.camel@argon> Message-ID: <20030505103323.81D1FAE4F5@basilica.la.naos.co.nz> In message <1052123214.26999.11.camel@argon>, "James @bigfoot.com" writes: >I think that my grounding in COBOL means that I tend to write PERL like >a COBOL program. I put all the declarations at the front because of this. Perl written like COBOL. There really is more than one way to do it! (James: this is the perl motto, in case you haven't seen it: There's more than one way to do it.) >The suggestions to use modules like XML::Simple, among others, intrigued >me. How can you find a module to do a job, if you you don't know what >the module is called? Ah ha. One of the best features of Perl is CPAN. CPAN, the Comprehensive Perl Archive Network, is a network of machines with a wide ranging library of (third party) perl modules which you can use. Most (all?) of them are distributed under the same conditions as perl. And there are several useful search engines. You can find out more about CPAN, and search the collection, at: http://www.perl.com/CPAN-local/ (Or, for ease of typing: http://cpan.perl.com/ will redirect there.) Generally when I'm faced with any "surely someone has written this before" type situation I'll search on CPAN for a suitable module before breaking down and writing the code myself. XML::Simple, written by Grant McLean as it happens, is one such module in CPAN. Ewen From grant.mclean at bearingpoint.com Mon May 5 16:04:25 2003 From: grant.mclean at bearingpoint.com (McLean, Grant) Date: Thu Aug 5 00:24:19 2004 Subject: Code Check Message-ID: <53B8C97B11002E49BB494F8610AE9538A16A51@kccxoex03.corp.kpmgconsulting.com> Ewen McNeill wrote: > You can find out more about CPAN, and search the collection, at: > > http://www.perl.com/CPAN-local/ > > (Or, for ease of typing: http://cpan.perl.com/ will redirect there.) Or for a 'superior' browsing experience: http://search.cpan.org/ CPAN is often described as Perl's killer app and the CPAN search site makes the large body of code very accessible. Regards Grant From grant.mclean at bearingpoint.com Fri May 23 00:24:55 2003 From: grant.mclean at bearingpoint.com (McLean, Grant) Date: Thu Aug 5 00:24:19 2004 Subject: Wellington Perl Mongers Library Message-ID: <0AC41AE2D2A02E47A392353671ECA97204D41A@kccxoex07.corp.kpmgconsulting.com> Hi Everyone The nice folk at O'Reilly have sent us a couple of books for our library. For the record that brings the total number of books to four: Google Hacks by Tara Calishan & Rael Dornfest (O'Reilly) Programming the Perl DBI by Alligator Descarte and Tim Bunce (O'Reilly) Network Programming with Perl by Lincoln D Stein (Addison Wesley) Data Munging with Perl by David Cross (Manning) If you would like to borrow one of these books, reply direct to me by email or phone. The simplest approach is probably if you can come in to the BearingPoint office to pick it up. The reason publishers send us books is that they'd like us to publish a review on our website and/or on Amazon or similar sites. So if you do borrow a book, please note down your impressions (two or three paragraphs are all we need) and email them to me to go up on our web site. Regards Grant =============================================================== Grant McLean BearingPoint Inc - formerly The Web Limited +64 4 381 1987 135 Victoria Street, Box 920 grant.mclean@bearingpoint.com Wellington, New Zealand