HsPerl5-0.0.1: Haskell interface to embedded Perl 5 interpreter
Language.Perl5
Synopsis
data Context Source
Constructors
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).
fromSV :: SV -> IO aSource
contextOf :: a -> ContextSource
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.