Suppose A snoopy.pl is a source file name.
How to write a script which attempts to find out as much as it can about a particular subnet. You should be able to specify the subnet to the program as a command line parameter like
snoopy.pl 140.160.138.0 255.255.255.0
the information gathered should be placed in a file in a form suitable for printing.
thanks