From: Graham B. <gb...@po...> - 2002-01-30 15:19:50
|
On Wed, Jan 30, 2002 at 04:05:24PM +0100, Piotr Roszatycki wrote: > On Wed, 30 Jan 2002, Graham Barr wrote: > > The newline only happens when outputing to stdout, if you change > > the output to a file you do not see the newline. > > Why the output for stdout is different? perl -le 'print tell(STDOUT);' So Net::LDAP::LDIF thinks it is not at the start of the file and outputs the blank line. It probably nees to be fixed, but it only happens when the output is really to a terminal, so I don't see the urgency. If you redirect to a file its fine perl -le 'warn tell(STDOUT);' > out 0 at -e line 1. Graham. |