JavaScript::Function3pm
Reference to a javascript function
Overview
Functions in JavaScript are actually "Function"-objects. This class encapsulates them and make them invokeable as a code-reference from Perl.
Interface
Instance methods
- as_function
-
Returns an code-reference that can be invoked which calls the underlying JavaScript
"Function"-object.
Overloaded methods
Instances of this class overloads "&{}" which means that you can use the instance as a code-reference directlly without having to use "as_function".
Releases
2 releases since Debian 5.0 (Lenny); the text changed 1 time.