* Peter Marschall <[EMAIL PROTECTED]> [030831 15:02]:
> Hi Mark,
> 
> For the values there is help:
> Instead of doing everything wit references, why don't you simply use the 
> values itself:
>       # get value from entry (set it to empty string if it is not in the entry)
>       $homedir = $entry->get_value('homedirectory') || '';
>       print $homedir."\n";

Of course. Man I was out to lunch. I was doing this but it was not
working for me ... I was getting the HASH address in my output. But
that was because I was doing things like this:

        print "$entry->get_value('uid')\n";

instead of

        print $entry->get_value('uid'),"\n";

Thanks!

Mark

-- 
Mark E. Drummond <[EMAIL PROTECTED]>                http://www.klug.on.ca
icq: 19153754   jabber: [EMAIL PROTECTED]   pgp: 0x095F6183
          F834 7A42 2E68 3FA2 A1BD  27BF 163D 892C 095F 6183

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to