On Fri, Oct 15, 2010 at 9:02 AM, Agnello George <agnello.dso...@gmail.com>wrote:
> HI > > Is there any site or any book other than "learning perl" where i would get > real life exercises on perl scripting. > > Thanks > > -- > Regards > Agnello D'souza > Hi Angello, What is your real life? I mean there are great books about graphics with perl and a few about algorithms I have seen a couple about bioinformatics, web development AJAX and I am sure that there is a lot more stuff out there for specific fields of real life application. First of all you will need to figure out what it is that you will want to do with perl in real life, then I am sure that you will find there is a few books on that particular subject. Personally I found the best way to get real life experience is by simply finding a challenge in real life and trying to use perl to overcome it. If you have sorted that out find a new one and solve it, as you go a long you will find much better ways to solve the challenges you struggled with originally. Of course finding modules on CPAN as suggested before and looking at how they deal with a real life problem can be very interesting but also certainly for a beginner very confusing as these modules often have been written by people with many years of experience and especially the better known and usually more used once have been written over a period of several years refining and improving the code along the way, so don't be discouraged if you end up scratching your head for a while trying to make sense of these things. Online tutorials usually range from bad to real bad and often do not bother with fundamental things like strict and warnings, let alone for webpage examples using taint and attempting to even at a very high level protect against SQL injection and other very simplistic attacks. So if you do anything only look at the initial challenge and the end result but please do not use the code as it usually is just horrible. There are a few good sites though, http://perl.com is an obvious location for very good articles about perl and its uses in real life. Another fun location is http://perlmonks.com where you can find people showing their solutions to real life problems or asking the community for help overcoming them, the site is often visited by some of the smartest people in the perl world so it certainly is a good place to ask questions and to try and answer those of others. I hope that helps a bit, just keep in mind coding perl is above all about having fun. Regards, Rob