File::Attributes lets you assign attributes to files (and read them, and list them, and delete them). WWW: http://search.cpan.org/dist/File-Attributes/