import and adopt libautobox-perl