Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

JavaScript::Code::Array
A JavaScript Array Type

JavaScript::Code::Array - A JavaScript Array Type


NAME

JavaScript::Code::Array - A JavaScript Array Type


SYNOPSIS


    #!/usr/bin/perl

    use strict;

    use warnings;

    use JavaScript::Code::Array;

    my $array = JavaScript::Code::Array->new( elements => [] );


METHODS

new( ... )

$self->push_back( $value | \@values )

Add one or more element(s) to the end of array.

$self->at( $index, < $value > )

Gets or sets the value on the given index.

Dies if the index is out of range.

$self->length( )

Returns the number of elements stored in the array.

$self->type( )

$self->output( )


SEE ALSO

the JavaScript::Code manpage


AUTHOR

Sascha Kiefer, esskar@cpan.org


LICENSE

This library is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy