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

How to run a Perl script automatically every N hours

Scheduling perl scripts to run at a certain time, or at a certain interval is usually done by some service of the operating system. In Unix/Linux/Mac OSX this can be crontab, and we call the processes cron-jobs.

On Windows there is a service called scheduler that will do the work.


How to run a Perl script automatically every N hours


Reverse an array, a string or a number

Given an array of values my @words = qw(Foo Bar Moo);, how can we reverse the order of the values to get Moo Bar Foo?

Given a string my $str = 'stressed';, how can I get the characters in reverse order to get 'desserts'?

Given a number: 3.14, how can I reverse it to get 41.3?


Reverse an array, a string or a number


How to check if a child process is still running in Perl?

Sometimes, when we use fork to create one or more child-processes we would like to know if the child process has stopped working or if it is still alive.

Normally we use wait or waitpid to notice when a child process has finished. The problem with that these functions will wait, and block our execution till the child process stops working.

What if we would like to do something while the child is still running but stop doing it when the child has finished?


How to check if a child process is still running in Perl?


Meet Perl programmers at
Polish Perl Workshop - 16-18 May, 2014, Poznan, Poland
and other Perl events.

Do you want to improve your Perl?

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