Hi,
On Thursday 27 March 2003 01:58, Dave Horsfall wrote:
> The manpage says that an already-opened filehandle can be passed to
> LDAP::LDIF::new(), but this does not appear to be the case. For exampl=
e,
> the following fails:
>
> my $ldif =3D Net::LDAP::LDIF->new(ARGV) || die "Cannot open input: $!";
>
> Cannot open input: No such file or directory at chk.pl line 19.
AFAIK ARGV is no file handle but an array.
Try it with STDIN, STDOUT or a handle opend using open()
Peter
--=20
Peter Marschall | eMail: pet...@ad...
Scheffelstra=DFe 15 | Tel: +49 931 14721
D-97072 W=FCrzburg |
PGP: 0BB1 04A3 0FB0 E27F 8018 52BA A286 7B23 9C22 2C83
|