On 20/4/04 7:51 am, Claude <[EMAIL PROTECTED]> wrote:

>>>>>> "Chris" == Chris Ridd <[EMAIL PROTECTED]> writes:
> 
> Chris> On 20/4/04 7:21 am, Claude <[EMAIL PROTECTED]> wrote:
>>> I'll try to rephrase as I didn't get any answer to my previous
>>> posting.
>>> 
>>> A call to "parse" does not seem to ever return false when passed a
>>> phoney file name.
>>> 
>>> my $schema = Net::LDAP::Schema->new;
>>> $schema->parse ( "foobar" ) or die "this line is never printed";
>>> 
>>> Any help?
> 
> Chris> Does calling $schema->error() afterwards return anything?
> 
> No. As if everything was ok.

Well in 0.9902 (the current version) of Schema.pm the error method returns
something.

$schema = Net::LDAP::Schema->new;
$r = $schema->parse("foobar");
die "This is printed" if $r->error();

If you step through Net::LDAP::Schema::parse using the perl debugger what is
it doing on your box?

Cheers,

Chris

Reply via email to