Yes. Perl has the ability to create and store incredibly complex data structures. It has numerous methods for using data on disks, one way or another. And it can certainly store both ascii and binary data in files and
for some hints as to just how easy it is to build some very complex records and store them to disk. Perl is not a highly optimized DB management system, though-- it is a programming language. But building small (which I suppose is pretty relative) DB packages would be one great way to start with Perl.