CSS::DOM::Array(3pm)

CSS::DOM::Array3pm

Array class for css::dom

Usage

  use CSS::DOM::Array;
  
  $array = new CSS::DOM::Array 'this', 'that';
  @$array;
  $array->[0];
  # etc.
  $array->length;
  $array->item(0);

Version

Version 0.17

Overview

This module serves as a base class for array-like objects required by CSS::DOM.

A CSS::DOM::Array object is simply a blessed array reference. You can use it as an array directly, or use the methods below.

Methods

Constructor

  $array = new CSS::DOM::Array;

Creates a new blessed array.

Object Methods

length

Returns the length of the array.

item ( $index)

Returns the array element at the given $index.

Releases

7 releases since Debian 7 (Wheezy); the text changed 5 times.

  1. 7
  2. 8
  3. 9
  4. 10–11
  5. 12
  6. 13

From libcss-dom-perl 0.17-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.