|Do you know where your variables are?|
Parsing of LDAP entryby mariusz (Initiate)
|on Jul 30, 2013 at 20:48 UTC||Need Help??|
mariusz has asked for the
wisdom of the Perl Monks concerning the following question:
I have one problem with Perl, so I would appreciate if you could help to find the best solution for that.
In my company we use SunOne LDAP. I want to connect to cn=changelog and read all entries in this node.
Structure of one entry looks like that:
When I try to read ($entry->get_value("changes")) and decode changes, then I received something like this:
In my case on the output I want to get (single line):ADD: NEW_VAR=ABC|REPLACE: A=NEW_VALUE, HISTORY=1,2,3|DELETE: ABC.
Is there any simple way to "PARSE" changes value? Unfortunately, type of this value is string..