work on a perl client