[Haskell] Monads in Perl