|
NAMEJE::Object - JavaScript Array object classSYNOPSISuse JE; use JE::Object::Array; $j = new JE; $js_array = new JE::Object::Array $j, 1, 2, 3; $perl_arrayref = $js_array->value; # returns [1, 2, 3] $js_array->[1]; # same as $js_array->value->[1] "$js_array"; # returns "1,2,3" DESCRIPTIONThis module implements JavaScript Array objects.The "@{}" (array ref) operator is overloaded and returns a tied array that you can use to modify the array object itself. The limitations and caveats mentioned in "JE::Object/"USING AN OBJECT AS A HASH"" apply here, too. METHODSSee JE::Types for descriptions of most of the methods. Only what is specific to JE::Object::Array is explained here.
SEE ALSOJEJE::Types JE::Object
Visit the GSP FreeBSD Man Page Interface. |