# April 2005, John Borwick =pod This package pretends to be Net::LDAP, just well enough to get you through simple diagnostics. mkdir -p lib/Net export PERL5LIB=lib wget -O lib/Net/LDAP.pm http://www.wfu.edu/~borwicjh/software/LDAP.pm perl my-ldap-program =cut package Net::LDAP; sub AUTOLOAD { return shift; } sub new { bless {}, shift } sub code { return 0 } sub count { return 1 } 1;