I'd agree with MIME::Base64 .. i use it extensively to
store subroutines that are grabbed on the fly from a
SQL database, decode, eval into the running script, so
that any number of scripts across can use the same
code without me having to update each script manually.
It would work well for your application.