Hi all,
Can anyone help with this one. i'm trying to use the 'system' command in a foreach loop with a perl array but can't get it to work. Heres what i'm doing ...
foreach (@ARRAY)
{
system('dig -x [@ARRAY] hinfo');
next
}
the DNS lookup is being done on "@ARRAY". The array contains a list of ip addersses, 1 per line.
any help welcome.
Jaybot. "Always know what you say, but don't always say what you know!"
Can anyone help with this one. i'm trying to use the 'system' command in a foreach loop with a perl array but can't get it to work. Heres what i'm doing ...
foreach (@ARRAY)
{
system('dig -x [@ARRAY] hinfo');
next
}
the DNS lookup is being done on "@ARRAY". The array contains a list of ip addersses, 1 per line.
any help welcome.
Jaybot. "Always know what you say, but don't always say what you know!"