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...

--
%%  Christopher A. Bongaarts   %%  c...@tc.umn.edu       %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%

Reply via email to