Shazam! Use Image::Magick with Perlbrew in minutes
How to get a local non-root install of Image::Magick working with Perlbrew
How to get a local non-root install of Image::Magick working with Perlbrew
Happy holidays; enjoy this discount on the latest Perl book until 15th January 2014
Introducing every, the cron scheduling app written in Perl
We talk about his favourite Perl one liners, publishing books and Perl on Windows!
Think you know how to fix CRLF in one line of Perl? There might be more to it than you think …
Learn when and how to use this classic “gang of four” code pattern
Learn about the tools Jeffrey uses to code in Perl, upcoming Stratopan features and more!
How to covertly screen-scrape behind an encrypted connection and masked identity
Writing accessors in vanilla object oriented Perl doesn’t have to lead to verbose boilerplate code
Learn how to manage your Perl modules in the cloud with Stratopan
STDOUT is the Perl filehandle for printing standard output. Unless a filehandle is specified, all standard printed output in Perl will go to the terminal. Because STDOUT is just a global variable, it can be redirected and restored. Want to implement logging on a program without changing every print statement in the source code? Want to capture the standard output of a perl CRON job? Read on.
CPAN mirrors are online repositories which host or “mirror” the Perl module distributions on CPAN. There are hundreds of CPAN mirrors dispersed throughout the World. When the CPAN program is run for the first time on a machine, it will configure the CPAN mirror list to use for checking for new versions of modules and downloading Perl distributions. All CPAN mirrors are not created equally though: the distribution list’s age, speed and the geographic location vary from mirror to mirror and so you may want to re-configure your local CPAN mirror list to suit your needs. This article describes how to find CPAN mirrors and edit the local CPAN mirror configuration.
Cron is a job scheduling program available on UNIX-like platforms. Most system commands can be scheduled including the execution of Perl programs. Once a job is setup, cron will run it as scheduled even if the user is not logged in, which can be a great way to automate sysadmin tasks or repetitive jobs. This article describes how to run Perl scripts with cron.
Perl’s split function has a useful feature that will split a string into characters. This works by supplying an empty regex pattern (“//”) to the split function. This can be used to easily split a word into an array of letters, for example:
Most Perl programmers know they can find out the current Perl version by typing “perl -v” as the command line:
Add subroutine signatures to Perl