Next Topic

Previous Topic

Book Contents

new

Create a new Zyrion::Message object.

use Zyrion qw(Message);
$obj = new Zyrion::Message(
  [DEBUG    => <0\|1>|];

This is the constructor for Zyrion::Message objects. A new object is returned on success. The $login_id and $login_password parameters can be omitted and specified during the Login method. The object is created with remote host address and port information, but no connection is made to the remote host when this method is called. The new object returned is given the following defaults in the absence of corresponding named arguments: