Forum Discussion
JD_73952
Nimbostratus
Dec 12, 2011I've resolved this. Chalk this one up to ignorance.
Through all of my research on this site in the perl section, I did not find any reference to the fact that you needed to place the iControlTypeCast.pm module in your @INC and then 'use iControlTypeCast.pm' in your script. Possibly a seemingly rookie mistake, but being unfamiliar with SOAP::Lite, I was thinking that those definitions were carried through in the SOAP response from the server.
I only started suspecting that this was the case when I found an example perl script that included iContrlTypeCast.
This should be a bullet point in the 'Quick start for perl' section of this site.
I also needed to go in and make a few changes to the iControlTypeCast.pm file to handle some 'undef' and 'subroutine redefined' errors when using '-w' and 'use strict'. I actually also found that these problems had been addressed earlier and supposedly rolled into the archived version of iControlTypeCast.pm, but apparently those changes were lost between revision. (http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/51/aft/59992/showtab/groupforums/Default.aspx)