GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  NET::LDAP::LDAPHASH (3)

.ds Aq ’

NAME

Net::LDAP::LDAPhash - Takes from a search and turns it into a hash.

CONTENTS

VERSION

Version 1.0.3

SYNOPSIS



        use Net::LDAP::LDAPhash;

        my $ldapconnection = Net::LDAP->new( "127.0.0.1" )

        my $bindMessage->bind( "cn=admin,dc=someBase", password=>"password", version=>3 );

        my $mesg = $ldapconnection->search(scope=>"sub","dc=someBase", filter=>"(objectClass=*)");

        my %foo = LDAPhash($mesg);
        ...



EXPORT

LDAPhash

FUNCTIONS

    LDAPhash ( mesg )

This takes from a search and turns it into a hash.

The returned has is in the following format.



        {DN}{ldap}{attribute}[array of values for this attribute]



The reason for the {ldap} is to allow for other values and the like to be tagged onto a hash for a DN that are unrelated to LDAP.

This function does not make any attempt to check if the search succedded or not.

AUTHOR

Zane C. Bowers-Hadley, <vvelox at vvelox.net>

BUGS

Please report any bugs or the like to vvelox@vvelox.net.

SUPPORT

You can find documentation for this module with the perldoc command.



    perldoc Net::LDAP::LDAPhash



COPYRIGHT & LICENSE

Copyright 2011 Zane C. Bowers-Hadley, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

ACKNOWLEDGEMENTS

WIML, #43892, pointed out out that ’t/pod-coverage.t’ does not exist, but does in the MANIFEST
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::LDAP::LDAPHASH (3) 2011-08-01

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.