Hi all,
I'm probably mis-reading the documentation, but here goes anyways:
heres the relevant portion of my .xs:
struct passwd *
vauth_getpw(arg0, arg1)
char * arg0
char * arg1
OUTPUT:
RETVAL
typemap:
struct passwd * T_PTROBJ
So, based on what I have read, doing this:
$pwd = vauth_getpw($arg1, $arg2);
print $pwd->pw_name, "\n";
should print the value of the pw_name, but barfs with:
Can't locate object method "pw_name" via package "struct passwdPtr"
doing this:
print ref $pwd
returns:
"struct passwdPtr"
So, I gather that a T_PTROBJ may not be what i want...
Any help with this would be great.
Thanks much,
--
-------------------------
Sean P. Scanlon
perl -e 'print pack("h*", "3707370426c6575646f647e2e65647"), "\n"'
-------------------------