Forum Discussion
safiyet_80777
Apr 01, 2011Nimbostratus
compare class type
Hi,
I want to get class type of my class_name. For this, I use get_class_type. İt return an enum value for example CLASS_TYPE_STRING. But I can not compare return valıue and enum value. I use perl script.
$Class = SOAP::Lite
-> uri('urn:iControl:LocalLB/Class')
-> readable(1)
-> proxy("$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi");
find Group type
$soapResponse = $Class->get_class_type
(
SOAP::Data->name(class_names => [$sdata_group])
);
&checkResponse($soapResponse);
@member = @{$soapResponse->result};
if ( @member == SOAP::Data->name(class_type => CLASS_TYPE_STRING) ) waht should be*
{
.....
}
Thanks
No RepliesBe the first to reply
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