From: Graham B. <gb...@po...> - 2000-08-15 16:18:55
|
On Mon, Aug 14, 2000 at 10:47:14PM +0100, John Berthels wrote: > The case I initially didn't catch is the one now represented by a leading > '_'. This refers to a node in the tree which is a straight array ref, not > blessed to Convert::ASN::parser The fact that some are blessed does not mean anything. I use it during a post-parse stage to mean "been here". > There are currently bugs relating to the fact that for the cTAG member, I > map '' -> '0' -> (chr 0). That is is a problem. The cTAG element is the tag packed. I would suggest outputing it as unpack("H*",$cTAG) and read it back with pack("H*",$input) that way '' will be out put as ,, and '0' will be output as ,30, > I also introduce missing array elts as undef - That will not be a problem. > If you like the idea I'll try and clean things up. Sure. > PS. Some time ago you suggested I check out the Devel:: modules. The > Devel::DProf module is cool. It shows up that > Net::LDAP::Schema::_get_one_word is a significant proportion (10-20%) of a > typical Schema load time. It is a one-liner used in two places, so > inlining is probably a good idea... are there any perl pragma's for this > yet or do we just cut and paste? Well its a bit more than one line, its 2 :) There is no way to get perl to inline yet, so we will have to copy the code. Graham. |