HsPerl5-0.0.1: Haskell interface to embedded Perl 5 interpreter

Language.Perl5

Synopsis

Documentation

data Context Source

Constructors

Void 
Item 
List 

class ToSV a whereSource

Data types that can be casted into a Perl 5 value (SV).

Methods

toSV :: a -> IO SVSource

Instances

class FromSV a whereSource

Data types that can be casted from a Perl 5 value (SV).

Methods

fromSV :: SV -> IO aSource

contextOf :: a -> ContextSource

Instances

withPerl5 :: IO a -> IO aSource

Run a computation within the context of a Perl 5 interpreter.

eval :: forall a. FromSV a => String -> IO aSource

Evaluate a snippet of Perl 5 code.