Perl program LDIF to CSV

Closed - This job posting has been filled.

Job Description

I need a Perl program written. Really very simple LDIF to CSV parser converter.

Limits: prefer to require limited CPAN libraries:
Perl-LDAP OK (but may not be needed)

All I want is the User info - not other blocks. See the crummy BASH script I wrote. It works, but it is slow, and ugly. I basically want the bad bash script re-written in perl, but I don't have time.

See attached Bash script as an example.

See attached s2 sample file.

Open Attachment