CSS::DOM::Array(3pm) User Contributed Perl Documentation CSS::DOM::Array(3pm)

CSS::DOM::Array - Array class for CSS::DOM

Version 0.17

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

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.

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

Creates a new blessed array.

Returns the length of the array.
Returns the array element at the given $index.

CSS::DOM

CSS::DOM::RuleList

CSS::DOM::StyleSheetList

CSS::DOM::MediaList

2023-08-02 perl v5.36.0