Zachary D. Blair > Polycom-Contact-Directory-0.05 > add_contact.pl

Download:
Polycom-Contact-Directory-0.05.tar.gz

Annotate this POD

View/Report Bugs
Source  

NAME ^

add_contact.pl - Adds a simple contact to the specified contact directory file.

SYNOPSIS ^

  perl add_contact.pl dir.xml "Bob" "Smith" "1236"

DESCRIPTION ^

Adds a contact with the specified first name, last name, and contact number to a contact directory file. If the file does not already exist, a new directory file will automatically be created.

CAVEATS ^

This simple script only supports the first name, last name, and contact number fields for the added contact. However, it would be very simple to allow additional fields to be specified from the command line. See Polycom::Contact::Directory for details.

SEE ALSO ^

Polycom::Contact::Directory - parses the XML-based local contact directory file used by Polycom SoundPoint IP, SoundStation IP, and VVX VoIP phones, and can be used to read, modify, or create contacts in the file.

AUTHOR ^

Zachary Blair, <zblair@cpan.org>

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 by Polycom Canada

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: