Re: Display/Increament Problem

2002-08-13 Thread Jeff 'japhy' Pinyan
On Aug 13, Darryl Schnell said: >sub ldap_srch { > my $limit = "20"; > my $emailname = shift; > $ldap_con = new Net::LDAPapi($host); > if ($ldap_con == -1) { die "Unable to Open LDAP Connection to $host"; >} > $status = $ldap_con->bind_s("cn=Directory Manager", $passwd); > if ($status != LD

Display/Increament Problem

2002-08-13 Thread Darryl Schnell
Below you will find an ldapsearch subroutine that I am trying to perform. The problem I cannot figure out is the last print statement: print LOG "DEBUG:$table{gecos}[$cnt]:$table{uid}[$cnt]\n"; It's suppose to print out data like below: Testus1:000111 Testus2:000112 Testus3:000113 Etc. However