The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

JavaScript::PerlHash - Encapsulate a Perl hash in JavaScript space

INTERFACE

CLASS METHODS

new ()

Creates a new instance with an empty hash.

INSTANCE METHODS

get_ref ( )

Returns a reference to the underlying hash.

JAVASCRIPT INTERFACE

This class is exposed in JavaScript space as PerlHash and can be instanciated using new PerlHash();. Set and get properties as a normal Object. Currently enumerating of the keys of the hash is not supported.