Forum Discussion
Alex_Chow_3394
Nimbostratus
Oct 29, 2007Perl unable to print String[] - get_monitor_association
Hi.
I am trying to use get_monitor_association() to query monitors of a server.
monitor_rule has structure of:
- type:MonitorRuleType(An indicator of how to deal/interpre...
Oct 29, 2007
Yeah, it's an array. You can do something like this if you want to iterate through the list.
@MonitorTemplatesList = @{$monitorRule->{'monitor_templates'}};
foreach $MonitorTemplate (@MonitorTemplatesList)
{
print "Template: $MonitorTemplate\n";
}-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
