in reply to can a script change itself?
When you create an LDAP entry, it is assigned a Distinguished Name attribute (DN) -- this is a unique identifier for that LDAP entry.
The LDAP server itself has these DN's stored at that point, there's no reason to store them separately for your script -- they can be retreived at any time.
However, if you're dead set on storing unique identifiers, store the DN's in a hash for later reference. I like to use Data::Dumper to dump the hash into a data file for later reference and update.
Cheers,
Matt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: can a script change itself?
by strat (Canon) on Mar 25, 2005 at 09:53 UTC | |
by mojotoad (Monsignor) on Mar 25, 2005 at 17:48 UTC | |
by strat (Canon) on Mar 26, 2005 at 09:44 UTC |