Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

net::dbus::binding::value(3pm) [debian man page]

Net::DBus::Binding::Value(3pm)				User Contributed Perl Documentation			    Net::DBus::Binding::Value(3pm)

NAME
Net::DBus::Binding::Value - Strongly typed data value SYNOPSIS
# Import the convenience functions use Net::DBus qw(:typing); # Call a method with passing an int32 $object->doit(dint32("3")); DESCRIPTION
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 neccessary 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 AUTHOR
Daniel P. Berrange COPYRIGHT
Copyright (C) 2004-2011 Daniel P. Berrange SEE ALSO
Net::DBus, Net::DBus::Binding::Introspector, Net::DBus::Binding::Iterator perl v5.14.2 2011-06-30 Net::DBus::Binding::Value(3pm)

Check Out this Related Man Page

Net::DBus::Binding::Message::Error(3pm) 		User Contributed Perl Documentation		   Net::DBus::Binding::Message::Error(3pm)

NAME
Net::DBus::Binding::Message::Error - a message encoding a method call error SYNOPSIS
use Net::DBus::Binding::Message::Error; my $error = Net::DBus::Binding::Message::Error->new( replyto => $method_call, name => "org.example.myobject.FooException", description => "Unable to do Foo when updating bar"); $connection->send($error); DESCRIPTION
This module is part of the low-level DBus binding APIs, and should not be used by application code. No guarentees are made about APIs under the "Net::DBus::Binding::" namespace being stable across releases. This module provides a convenience constructor for creating a message representing an error condition. METHODS
my $error = Net::DBus::Binding::Message::Error->new( replyto => $method_call, name => $name, description => $description); Creates a new message, representing an error which occurred during the handling of the method call object passed in as the "replyto" parameter. The "name" parameter is the formal name of the error condition, while the "description" is a short piece of text giving more specific information on the error. my $name = $error->get_error_name Returns the formal name of the error, as previously passed in via the "name" parameter in the constructor. AUTHOR
Daniel P. Berrange. COPYRIGHT
Copyright (C) 2004-2009 Daniel P. Berrange SEE ALSO
Net::DBus::Binding::Message perl v5.14.2 2011-06-30 Net::DBus::Binding::Message::Error(3pm)
Man Page

We Also Found This Discussion For You

1. Shell Programming and Scripting

Net::Ftp in perl

I am trying to execute a script in another server, i used Net::Ftp module How to execute unix command in another server by using Net::Ftp module.. #!/usr/bin.perl ### Perl script to $ftp->login($user_name,'password') or die "Cannot login ", $ftp->message;... (2 Replies)
Discussion started by: pritish.sas
2 Replies