From: Graham B. <gb...@po...> - 2001-04-07 21:34:21
|
On Fri, Apr 06, 2001 at 04:58:10PM -0700, Robbie Allen wrote: > I'd like to use LDIF.pm for an LDIF parser I'm writing, but one of the > biggest problems I've found is that LDIF.pm silently skips LDIF lines > that are syntatically wrong. Could an option be specified to error out > on such things? This is one of those things that has been on my perpetual todo list. My thought was that _read_one should return undef on error and store the reason inside $self. read should return what it has already read and there should be an error method to access the error message. Anyone have any better ideas ? Feel like doing a patch ? Graham. |