1Net::DBus::Binding::ValUusee(r3)Contributed Perl DocumenNteatt:i:oDnBus::Binding::Value(3)
2
3
4

NAME

6       Net::DBus::Binding::Value - Strongly typed data value
7

SYNOPSIS

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

DESCRIPTION

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

METHODS

24       my $value = Net::DBus::Binding::Value->new($type, $value);
25           Creates a wrapper for the perl value $value marking it as having
26           the dbus data type $type. It is not neccessary to call this method
27           directly, instead the data typing methods in the Net::DBus object
28           should be used.
29
30       my $raw = $value->value
31           Returns the raw perl value wrapped by this object
32
33       my $type = $value->type
34           Returns the dbus data type this value is marked as having
35

SEE ALSO

37       Net::DBus, Net::DBus::Binding::Introspector,
38       Net::DBus::Binding::Iterator
39

AUTHOR

41       Daniel Berrange <dan@berrange.com>
42
44       Copyright 2004-2005 by Daniel Berrange
45
46
47
48perl v5.12.0                      2008-02-21      Net::DBus::Binding::Value(3)
Impressum