Dagobert Michelsen

NAME

Solaris::DeviceTree::Libdevinfo::PromProperty - PROM property of a node of the Solaris devicetree

SYNOPSIS

  use Solaris::DeviceTree::Libdevinfo;
  $tree = new Solaris::DeviceTree::Libdevinfo;
  %pprops = %{$tree->prom_props};

DESCRIPTION

This class allows access to PROM properties of a node in various output formats. The value of the property is returned as a reference to a scalar containing the binary values of the property.

METHODS

The constructor is considered internal and should not be used.

The following methods are available:

$promprop->string

Returns the value of the property as human readable string where the value is returned as ASCII string or hex depending of the contents.

AUTHOR

Copyright 1999-2003 Dagobert Michelsen.

SEE ALSO

Solaris::DeviceTree::Libdevinfo, libdevinfo, di_prom_prop_name, di_prom_prop_data, di_prom_prop_next.