Perl Maven

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

Length of an array in Perl

In Perl the length function is only used for strings (scalars). In order to get the length of an array use the scalar function.

Length of an array in Perl

Pro: Show CPANstats on every page

Now that we have these generic stats on our system, we should replace the hard-coded numbers we have on the front page. As we know these numbers will have to be displayed on every page, we don't add it to the code that displays only the main page. Instead we add our code to the template() function that will be called for every page.

Show CPANstats on every page

Simple timestamp generation using POSIX strftime in Perl

Very often I need to add a timestamp to some log file, or create a file based on a the current date. There are plenty of really good modules on CPAN to handle dates and times, that can help creating these timestamps, but this time I am going to use the strftime function of the standard POSIX module.

Simple timestamp generation using POSIX strftime in Perl

Do you want to improve your Perl?

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

Do you want to become a Pro?

Check out the Perl Maven Pro.