This type represents a code reference: an anonymous sub or a reference to a named sub.
|
See Also: Inherited members from Value.
|
Code(Interpreter, string) Creates a new anonymous sub that contains the given code. |
|
Code(Reference) Creates a new code reference that points to the given code reference. |
Creates a new anonymous sub that contains the given code.
| Type | Condition |
|---|---|
| Perl.PerlEvalException | If an error occured parsing the code. |
Creates a new code reference that points to the given code reference.
Calls the sub.
| Type | Condition |
|---|---|
| Perl.PerlEvalException | If an error occured during the call. |
Calls the sub.
| Type | Condition |
|---|---|
| Perl.PerlEvalException | If an error occured during the call. |