in reply to perl grep & anchor

Sorry, please disregard. Problem was record separator