On Nov 15, 2011, at 1:55 PM, Andrew Hicox wrote: > > > So, anyhow, I'm not sure if this is a function of the ARS version I'm > connecting to, or if it's a function of the version of API/ARSperl I'm using. > I've looked through the change log and I don't see any obvious mention of > ars_GetField other than a note that a bug correcting return undef behavior > was fixed in 1.91 > > Can anyone on the list confirm if this is a function of the ARSperl version, > and if it is, let me know the version where it changed?
it's a function of the API version. ARSperl generally mimics the AR API 'struct' layout to maintain compatibility with the BMC API doc. The structs are in the ar.h file that comes with your API. ars_APIVersion() should give you guidance on which rev of the API was used at compile time. It looks like "10" is 7.1 $ grep AR_EXPORT_VERSION *.h arstruct.h:#define AR_EXPORT_VERSION 10 /* version number of export definition */ > I'd like to abstract it in my module so I can look for the data in the > appropriate place depending on the version number. > > Thanks everyone! > > -Andrew > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > -- > Arsperl-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/arsperl-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 -- Arsperl-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/arsperl-users
