Hi Monks,
I need a little help designing a tool. The purpose of the tool is to test some incoming outgoing ports in preparation for a software application that we install.
The way i am designing this tool is that i have a system script called system.pl that initially prompts the user to enter the following:
IP, MASK, DNS, NTP, GW etc
It then saves all this information in a log file. Afterwards it checks for instance if the given hostname resolves to the given IP. To achieve this there is another script called dns.pl. Similary every function has a script named after it.
Taking the example of dns.pl.
All variables are already defined as this is just an example. What i want a little help with is that should i return objects from these perl scripts or do the processing for instance and get all A records and return strings or arrays ? What would be a good approach ?