Hi, I have Hash of array. I want to compare the array values within the hash. How can it be done?
if ($eline =~ /$pattern/ ) { $eline =~ /(.*)\"(\w+)\s(.*)\?(.*)\"/ ; my $uniq=$1; my $url=$4; chomp($uniq);chomp($url); my @var= ( split("&",$url) ); foreach my $k (@var) { @value = split("=",$k); if ( $value[0] eq "package_guid" ) { push @{$VAR{$uniq}},@value; } if ( $value[0] eq "deployment_id" ) { push @{$VAR{$uniq}},@value; } } foreach my $x (keys %VAR) { foreach my $y (keys %VAR) { < Comparison code if 2 entries have same pacakge_guid > } } } plz suggest. Thanks,