Subscribe to
Posts
Comments

Archive for February, 2008

Peruse popular Perl packages

For a little while, I’ve been curious about which of the packages people in the vast wasteland of CPAN actually use and care about. Here’s an attempt to answer that question with fifty popular Perl packages for your entertainment.
Before we begin, a brief overview of the column layout.

The mean vote from CPAN ratings.
The number of [...]

Here’s a simple program I wrote on a whim tonight, to take a very basic look at GHC’s low-level threading performance.

module Main where

import Control.Applicative
import Control.Concurrent.MVar
import Control.Concurrent
import Data.Time
import System.Environment

main = do
mv <- newEmptyMVar
start <- getCurrentTime
loop mv =<< read . head <$> getArgs
[...]

Applicative functors are gorgeous and versatile creatures, but as is common in Haskell, they lack a little in documentation. The paper that Conor and Ross wrote introducing them is good, but dense. What if we were to skip all the scene-setting kerfuffle, and plunge into using them by example?
I won’t attempt to describe what applicative [...]