Hi! I'm new to Perl, and one of my assignments is to write a script that produces the same output as MS-DOS's Tracert command and functions similarly, i.e. by sending ICMP Echo Requests with increasing Time-To-Live values to the specified destination and capturing the replies from the intermediate hosts. I tried achieving that with the Net::Ping module, defining the used protocol as ICMP and setting the TTL while constructing the object, but the TTL values I set didn't seem to affect anything at all, even when I deliberately gave them invalid values. I also couldn't figure how to get the IP of the host returning the reply. I'd be glad for some help.
Thanks in advance!