FUSE::Client - Perl-FUSE client
use FUSE::Client; $c = FUSE::Client->new({ Port=>35008, Quiet=>1, }); $c->connect(); $c->send("COMMAND","parameter"); $c->disconnect();
The FUSE::Client module will create a TCP FUSE client to test sending messages to a FUSE server.
FUSE::Client
The external interface to FUSE::Client is:
The object constructor takes the following arguments in the options hash:
Quiet = 0|1
Whether to be quiet. Default is to report all events to STDOUT (not 'Quiet').
Port = n
The port for the client to connect to. Default is 1024.
This method connects the client to the server.
This method disconnects the client from the server.
Send a FUSE formatted command message to the server, with the specified parameter.
Cal Henderson, <cal@iamcal.com>
To install FUSE::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FUSE::Client
CPAN shell
perl -MCPAN -e shell install FUSE::Client
For more information on module installation, please visit the detailed CPAN module installation guide.