dunno about a ready to use module for that, but putting the compressed code after __DATA__ and uncompressing it in a one-liner shouldn't be too difficult and not much longer.
But there was a module to pack modules into one file ... others will certainly remember the name! =)