Hi, I am trying to move the default file example of "File => New => Perl 5 Script" and brothers in the snippets system. They will stay to be accessible from "File => New ... " but this will make it easier to extend it and to allow the end user to customize the files.
So I looked at the snippets and found an issue and I wonder how to resolve it There are multiple entries for "if" due to the update1 script in Padre::DB::Timeline. This could happen as "name" is not defined as unique and even the "category, name" pair is not required to be unique. So I wonder how to fix this? Shall I add another upgrade sub that will change the database table so the name column will required to be unique? How shall I clean up the duplicates? Shall I just automatically delete the duplicates before changing the database maybe removing some user changed entries? Shall I rename those entries instead of removing them? What would be the "best practice" in such migration move? regards Gabor -- Gabor Szabo http://szabgab.com/ _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev