in reply to Re: h_errno consants?
in thread h_errno constants?

Re: .1 - Yes, I've been there. That confirms that h_errno is returned in $?. I don't see where to get the netdb.h constants or strings. All the detail is about the case where it returns subprocess exit status -- not the value of h_errno.

Re: .2 - Thanks, but Errno.pm gives the symbolic equivalents of the errno variable. I'm looking for symbolic constants for h_errno. Note the leading h_ - this is the errno-like variable used by the network information database routines.

This communication may not represent my employer's views, if any, on the matters discussed.

Replies are listed 'Best First'.
Re: Re^1,^2: h_errno consants?
by Anonymous Monk on Jun 21, 2009 at 12:07 UTC
    I don't see the where to get the netdb.h constants or strings.

    Or what you see is that you can't get them from perl :|