mk_methods.pl - generate UltraDNS::Methods module by parsing the specification
mk_methods.pl NUS_API_XML.txt
Parses a plain text version of the UltraDNS Transaction Protocol document (derived from http://www.ultradns.net/api/NUS_API_XML.pdf) and rewrites the UltraDNS::Methods module with descriptions of the methods and their arguments.
You do not need to run this unless you need to update the code to handle a newer version of the API.
The NUS_API_XML.txt isn't included in the distribution for copyright reasons. This is the procedure I used to generate the current UltraDNS::Methods module:
- Open http://www.ultradns.net/api/NUS_API_XML.pdf using Preview on Mac OSX - Select and copy all the text - Paste the text into the TextEdit application - Select "Make Plain Text" from the Format menu - Save as NUS_API_XML.txt - Run mk_methods.pl NUS_API_XML.txt in the top directory of the distribution
If you use a different method to perform the conversion then it's likely that you'll need to make slight changes to this script.
To install UltraDNS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UltraDNS
CPAN shell
perl -MCPAN -e shell install UltraDNS
For more information on module installation, please visit the detailed CPAN module installation guide.