Thank you! I have no idea why I didn't think about it before... Now it does seem like an obvious solution. I still didn't get it to work though. I did exactly what you suggested, but now I get this error: (I'm using Storable for serializing data in MLDBM)
Can't store CODE items at blib\lib\Storable.pm (autosplit into blib\lib\auto\Storable\_freeze.al) line 264, at C:/Perl/site/lib/MLDBM/Serializer/Storable.pm line 20