apersaud/Nmap-Parser — pull request #3 by bonsaiviking (2012-01-24 17:53:06+00:00)
Title: Fix fatal error when using $host->all_hostnames() and there are no hostnames.

Basic test for undefined (or false) and use an empty array ref (`[]`) instead. Better choice would be to use the defined-or operator (`//`), but it's a newer feature. This way is more backwards-compatible with older Perl versions.