Technically, I don't think you need that "scalar()", but it's good documentation of what you're doing.my $hostcount = scalar(@{$ClusterHostList{ $clusterID }});
In reply to Re: Number of Elements in HoL
by perrin
in thread Number of Elements in HoL
by Tuna
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |