basic perl library