On Fri, Nov 16, 2007 at 05:51:41PM -0600, John E. Malmberg wrote: > What I do not know how to do is have Cwd.pm detect if the new routines > are present.
XS subroutines will appear defined once they exist: $ perl -lwe 'print defined &Socket::inet_ntoa' $ perl -MSocket -lwe 'print defined &Socket::inet_ntoa' 1 There's already quite a lot of logic with defined on subroutines in Cwd.pm Nicholas Clark