Snert . Com dbm-client.pl
      from   Snert . Com

A Simple DBM Client

| dbm-client.pl | dbm-server.pl | mod_watch |
| Welcome | Software |

Syntax

dbm-client.pl [-h host][-p port] dbname secret [key [value]]

-h hostDBM server host. The default is localhost 127.0.0.1.
-p portDBM server port. The default is 9866.
dbnameThe DBM database to access.
secretThe DBM database secret.
keyIf specified, then this is the key to get or set a value. Otherwise, enter into interactive mode.
valueIf specifed, then this is the value to set for a key.

Description

A companion script to the dbm-server.pl. It provides an example on how to build requests and parse responses. It can be used to get or set keys in a database directly from the command line. When the key and value arguments are omitted, the script can then be used interactively (normally for testing).

License

This source distribution is made freely available and there is no charge for its use, provided you retain this notice, disclaimers, author's copyright, and credits.

Disclaimer

THIS SOFTWARE IS PROVIDE "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO WAY SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


| dbm-client.pl | dbm-server.pl | mod_watch |
| Welcome | Software |