There is an ongoing outage on the primary CPAN mirror. It is possible to work around the issue by using MetaCPAN as a mirror.

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.