For Programmers: Free Programming Magazines  


Home > Archive > LDAP > August 2005 > Re: trying to add a mailing list to the directory









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: trying to add a mailing list to the directory
Jennifer Young

2005-08-24, 7:03 pm

Chris Ridd wrote:

> On 17/1/05 12:31 pm, ronan <r.mcglue@qub.ac.uk> wrote:


[color=darkred]
> I don't know anything about Net::LDAPapi. You'll need to s help elsewhere
> with that code!


> You're obviously not running with perl's -w flag or using 'use strict'.
> These are *strongly* recommended, because they point out errors in your
> code. If you try to do that with your snippet it complains:


> Global symbol "$list" requires explicit package name at ./test.pl line 20.
> Execution of ./test.pl aborted due to compilation errors.


> Line 20 in my test script is the line that calls add.


> Does writing:


> attrs => [%{$list{'entry'}}]


> make a difference?


[color=darkred]
> Cheers,


> Chris



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com