This assembly is a binding to the Perl interpreter. PerlSharp allows .NET programs to embed Perl scripts and manipulate Perl data. PerlSharp supports embedding any number of Perl interpreters.
These classes are not thread safe. Parameters and return values must be/are non-null unless otherwise specified.
Because scripts get unrestricted access to Perl, using PerlSharp is not appropriate unless the code being executed is completely trusted.
Perl version 5.8.0 or later on a Unix-like system is required.
| Type | Description |
|---|---|
| Array | This type represents a Perl array. |
| Blessed | This type represents a Perl blessed reference: the equivalent of an object in Perl. |
| Code | This type represents a code reference: an anonymous sub or a reference to a named sub. |
| Hash | This class represents a Perl hash. |
| Interpreter | A Perl interpreter context. This is the main class for executing Perl code in the managed world. |
| PerlEvalException | This exception is thrown whenever evaluated Perl code generated an error. |
| Reference | This type represents Perl references to scalars, arrays, hashes, and other references. |
| Scalar | Scalars are strings and numbers in Perl. |
| Value | The Value type is the abstract supertype of all managed wrappers around Perl variables. |
| WarnHandler | This type represents the signature of methods that can be used as the WarnHandler of Interpreter objects. |