abandoning Inline:C for perl wrapper