develooper Front page | perl.ldap | Postings from February 2010

Re: [Net::LDAP] Re: Dumping Net::LDAP::Entry to a string

Thread Previous | Thread Next
From:
Peter Karman
Date:
February 16, 2010 18:03
Subject:
Re: [Net::LDAP] Re: Dumping Net::LDAP::Entry to a string
Message ID:
4B7B4E25.7010602@peknet.com
Quanah Gibson-Mount wrote on 2/16/10 11:58 AM:
> --On Monday, February 15, 2010 2:21 PM -0600 Christopher Bongaarts
> <cab@umn.edu> wrote:
> 
>> Graham Barr wrote:
>>> On Feb 10, 2010, at 9:35 AM, Christopher Bongaarts wrote:
>>>> Graham Barr wrote:
>>>>
>>>>> Also, anything that can dump to a filehandle can dump to a string.
>>>>>  open(my $fh,">",\my $buffer);
>>>>>  then pass $fh as the file handle
>>>> Only in perl >= 5.8.  Perl 5.6 and earlier won't support this syntax,
>>>> so  I would advise against using this to implement and ldif() method
>>>> unless you are OK with breaking compatibility with older perls...
>>>
>>> 5.8.0 was released nearly 8 years ago. Anyone who is still using a
>>> version of perl that old will not mind using an old version of Net::LDAP
>>> IMO.
> 
> I disagree with this statement. ;)  RHEL4, for example, ships with perl
> 5.8.5, and remains one of the most widely deployed Linux distributions
> in the corporate environment.

I didn't hear the OP referring to 5.8.x as "old" but as anything prior to 5.8.0
as old. The 5.6.x line is officially unsupported[0] so I think Christopher is
correct.

[0] http://www.perl.com/download.csp#previous

-- 
Peter Karman  .  http://peknet.com/  .  peter@peknet.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About