i am converting ppar2.pl from a standalone perl script to a perl module