Net::DBus::Binding::Value(3pm)

Net::DBus::Binding::Value3pm

Strongly typed data value

Usage

  # Import the convenience functions
  use Net::DBus qw(:typing);
  # Call a method with passing an int32
  $object->doit(dint32("3"));

Overview

This module provides a simple wrapper around a raw Perl value, associating an explicit DBus type with the value. This is used in cases where a client is communicating with a server which does not provide introspection data, but for which the basic data types are not sufficient. This class should not be used directly, rather the convenience functions in Net::DBus be called.

Methods

my $value = Net::DBus::Binding::Value->new($type, $value);

Creates a wrapper for the perl value $value marking it as having the dbus data type $type. It is not necessary to call this method directly, instead the data typing methods in the Net::DBus object should be used.

my $raw = $value->value

Returns the raw perl value wrapped by this object

my $type = $value->type

Returns the dbus data type this value is marked as having

Releases

10 releases since Debian 5.0 (Lenny); the text changed 9 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11
  8. 12
  9. 13
  10. Arch

Author

Daniel P. Berrange

From perl-net-dbus 1.2.0-9 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.