| VCS-LibCVS documentation | view source | Contained in the VCS-LibCVS distribution. |
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.
VCS::LibCVS::Client::Request
| VCS-LibCVS documentation | view source | Contained in the VCS-LibCVS distribution. |