- data Context
- class ToSV a where
- class FromSV a where
- withPerl5 :: IO a -> IO a
- callSub :: forall s a r. (ToCV s, ToArgs a, FromArgs r) => s -> a -> IO r
- (.:) :: (ToCV sub, ToArgs args, FromArgs ret) => sub -> args -> IO ret
- (.!) :: (ToCV sub, ToArgs args) => sub -> args -> IO ()
- callMethod :: forall i m a r. (ToSV i, ToSV m, ToArgs a, FromArgs r) => i -> m -> a -> IO r
- (.$) :: (ToSV meth, ToArgs args, FromArgs ret) => SV -> meth -> args -> IO ret
- (.$!) :: (ToSV meth, ToArgs args) => SV -> meth -> args -> IO ()
- eval :: forall a. FromArgs a => String -> IO a
- eval_ :: String -> IO ()
- type SV = Ptr ()
- use :: String -> IO SV
Documentation
Data types that can be casted into a Perl 5 value (SV).
Data types that can be casted from a Perl 5 value (SV).
callSub :: forall s a r. (ToCV s, ToArgs a, FromArgs r) => s -> a -> IO rSource
Call a Perl 5 subroutine.
callMethod :: forall i m a r. (ToSV i, ToSV m, ToArgs a, FromArgs r) => i -> m -> a -> IO rSource
Call a Perl 5 method.