include "perl_api/extern.h" for perl_* functions