I am finding uniques URL in a log file along with the response stamp which can be available using $line[7]. I am using Hash to get the unique URLs.

1. How can I get the count of Unique URL?
2. How can I get the average of response time along with the count of Unique URL?

With below code I am getting

```
url1
url2
url3

```

but I want it along with the average response time and count of each URL

```
URL     Av.RT   Count
url1    10.5    125
url2    9.3     356
url3    7.8     98

```

Code:

```
#!/usr/bin/perl
open(IN, "web1.txt") or die "can not open file";

# Hash to store final list of unique IPs
my %uniqueURLs = ();
my $z; 
# Read log file line by line
while (<IN>) {
@line = split(" ",$_);
$uniqueURLs{$line[9]}=1;
}

# Go through the hash table and print the keys
# which are the unique IPs
for $url (keys %uniqueURLs) {
print $url . "\n";
}

```