yes, so sorry for that.
Im still in learning phase in perl, i wanted to snmpwalk for 3 to 4 IP's using snmpwalk command and store the result in an array, After that i want to use a 'for' loop to iterate that array and print the output for one IP at a time.
I hope u understood my query. I will staring writing the script for one IP. Please correct it
my $ip = "126.96.36.199";
my $community = "public";
my $oid = "188.8.131.52.184.108.40.206.2.0";
my @arr = `snmpwalk _v2c _$community _$ip _$oid`;