I just saw in Google-News headlines that Solaris 10 was resleased as Open Source. You might have a chat with your local Sun Micro reps and see if thay have a problem with you reading the code to compress(1) and proting/adapting/creating a Perl module incorporating the compress(1) algorithm.
----
I Go Back to Sleep, Now.
OGB