handles perl variables