Welcome future Perl Maven!

What can you do here?

If you are a beginner, or would like to refresh your Perl programming knowledge, you can go over the Perl tutorial.

You will find a few advanced articles too, though most of the advanced articles are available to the subscribers of the Perl Maven Pro service only.

If you are interested to listen to or even see other Perl developers, the Perl Maven TV Show is a collection of such interviews.

Want to make sure you don't miss any of the Perl Maven articels? Sign up to the newsletter!

Recent Articles

MetaCPAN recent uploads

MetaCPAN has a couple of links at the top. One of them shows the recently uploaded distributions. You can use a filter to see only thos that were uploaded for the first time.

This is a great way to see what's is totally new on CPAN?


MetaCPAN recent uploads


Pro: Comparing complex data-structures using is_deeply

So far we compared single scalar values to some expected value. What if your function returns an array, a hash, or a multi-dimensional data structure consisting of lots of arrays and hashes? How can you compare that to some expected data structure?

Test::More provides the is_deeply function for this.


Comparing complex data-structures using is_deeply


Short-circuit in boolean expressions

Short-circuit means that an expression returns a value before evaluating all the parts in the expression. There are several areas where this can apply. Here we take a look at boolean expressions. Statements with and, or, and not keywords combined.

When there is a complex boolean expression Perl will execute it according to the Operator Precedence and Associativity, and will return some kind of a true or false value.

If it finds the final answer before it calculated the whole expression, it will return immediately.


Short-circuit in boolean expressions


Do you want to improve your Perl?

Register to the FREE Perl Maven newsletter here.
Email:
or to the Perl Weekly newletter over there

Do you want to become a Pro?

Check out the Perl Maven Pro.