More progress on perl lib