VCS::LibCVS::Client::Request::Argument - an Argument request
$switch = VCS::LibCVS::Client::Request::Argument->new("-m"); $msg = VCS::LibCVS::Client::Request::Argument->new("2 line\nmessage"); $msg = VCS::LibCVS::Client::Request::Argument->new( ["2 line","msg"] ); $client->submit_request($switch); $client->submit_request($msg);
Used for sending arguments to the server. These are similar to the cvs command-line switches.
The only difference from a regular request is the constructor.
An Argument can contain arbitrary characters, including newlines. In order to support this the CVS client protocol has a request called Argumentx that appends a line to a previous Argument request. This library rolls these two requests into one object which can handle arguments with multiple lines.
VCS::LibCVS::Client::Request
$request = Client::Request::Argument->new($args_data)
All of the argument data, across any number of lines.
The elements of the array are joined with newlines between them to form a scalar which is used as the data.
Constructs and returns a new Argument Request.
To install VCS::LibCVS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VCS::LibCVS
CPAN shell
perl -MCPAN -e shell install VCS::LibCVS
For more information on module installation, please visit the detailed CPAN module installation guide.