Category Archives: Server side (Perl 5, Perl 6)

Object Oriented Perl 5, Moose, Perl 6, Catalyst Framework

Head First book Perl

Some months back I have purchased 4th edition of Camel book, Programming Perl. I am liking the book and at present focusing on Chapter 6 on Unicode. Well, I was just wondering if the experts in the Perl community have plans to write a Perl book in the Head First series. Well, the obvious answer could be that we already have excellent books then why we need this? But I personally feel that Head First books have quite delightful way of teaching which can shorten learning time. May be this can help in attracting more guys to take a dip in the Perl world in a short time and later one can pick the Camel book and others.

I don’t know if someone had already started writing? But just a thought.

Thanks

Fork me on GitHub

Resource on debugging, profiling and benchmarking in Perl

I am listing some of the online resource which really helped me to understand the debugging and profiling in Perl.

Profiling Perl by Simon Cozens

Dr. Dobbs Journel by brian d foy

Wasting time thinking about wasted time by brian d foy

Randal L. Schwartz column on Unix Review

Benchmarking your code by turnstep

Debugging and Profiling mod_perl Applications by Frank Wiles 

also do not forget to check chapter 4, 5, 6 of Mastering Perl Book and documentation on CPAN and perldoc.

Any Addition to this list is welcome.

Enjoy Perl.

 

Added:

Devel::Nytprof 

 Slides of Tim Bunce talk on Devel::NYTProf YAPC::EU August 2010

 

Perl Data Language (PDL) Release News

PDL 2.4.10 is released. Another great work from Chris Marshall and PDL Development Team. See this link for official announcement.

You can also checkout the first draft of the PDL book. For existing MATLAB users there is a very good guide which can help in migrating from MATLAB to PDL.

 

Enjoy the new PDL release and unleash the power of Perl for solving mathematical problems.

Good Luck!

Static variables/functions in Perl: Journey from C++ to Perl

I am relatively new to Perl.. in fact not so new now it’s been almost 3 years but frankly I am still learning new things on daily basis so much to learn. Great language and community it’s privilege to be part of ! Prior to Perl I was programming in C/C++ for 3 years and before that I was programming mostly in C and assembly languages. So it’s been wonderful journey till now learning many languages. Well, as C++ was my last language before Perl so I sometime use my C++ OO concepts to understand the same OO concepts in Perl. I don’t know if this is the correct approach or not but for me it helps. Last weekend I was just thinking about static variables and static functions/methods in C++.  Second obvious thought was how we implement them in Perl? or in fact do we really need them? As we don’t have private, public, protected keyword in Perl so how we are going to implement these features and setting the access inside and outside class? How Perl allocates the memory for static variable? Can we get this behavior just by declaring a variable outside of functions in a package or does const module will help?

So many questions, Well I might get some answers from web but I thought that it would be better idea to use this platform and ask directly to experts.  Would be nice if you guys can help me to understand and also direct me to some documentation links which compare the OO features in C++ and Perl.

Thanks for reading !