Simple database editor in Perl