P is for Practical | |
PerlMonks |
Re: Uniquely identifying each & every html templateby Arunbear (Prior) |
on Jan 21, 2013 at 13:33 UTC ( [id://1014444]=note: print w/replies, xml ) | Need Help?? |
Maybe ... create a database table containing the name of each file along with an auto increment primary key id, and use that id in each file to identify it. Updating the files to add these id's could be done with a script of course.
If you rename a file, you'd have to update this table as well, but the id will be the same.
In Section
Seekers of Perl Wisdom
|
|