I've done a few searches and haven't had any luck as yet. I am writing a bit of monitoring software that loads it's rules in from a file on disk. The rules are made up of regex patterns and functions which are eval'd and called when needed. I use storable.pl to save and retieve this rule file.
The only problem is that if I view the file on disk I can basically see all the contents. I need a way of encrypting the file on the disk and decrypting it as I read it in using storable.
What I would really like is a way of pre-compiling the functions within the rule file so that the native perl code is never actually seen, even by the running script. Something, i fear, that is beyond my brain at the moment ...... any ideas ??