On Jul 6, 2005, at 4:52 PM, Young, Darren wrote:
Anyone have an example of using Net::LDAP::Util->ldap_explode_dn() ?
I'm lost on the part "Explodes the given DN into an array of hashes
and
returns a reference to this array"...
If (should) I say:
my $dn = "uid=dyoung2, ou=GSB, dc=uchicago, dc=edu";
my @dnvals = ldap_explode_dn($dn);
Any enlightenment would be greatly appreciated.
print Data::Dumper([EMAIL PROTECTED]);
$VAR1 = [
[
{
'UID' => 'dyoung2'
},
{
'OU' => 'GSB'
},
{
'DC' => 'uchicago'
},
{
'DC' => 'edu'
}
]
];
Graham.