Glad to found this example on how to invoke the "next_available_ip" function via WAPI. It’s great information for IT learners. Keep posting. Caroline, Personal Statement Writer, http://www.personalstatementfolks.co.uk/
Ran the perl script above and did get results -- not the results I was expecting but results none the less. So proved there isn't a communication problem but a configuration issue. Will investigate further.