gpta_varun wrote:
Also , With multiple machines A , B , C ..... etc ,
How would i dynamically grep values from the hash .... Need something like ...
hash {MACHINE NAME} { ....loop through all values }
you would do something like:
Code:
if ($value =~ /,/) { foreach (split /,/, $value) {
$hash{$key_value}{$name}=$_;
}
} else {
$hash{$key_value}{$name}=$value;
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!