The following module was proposed for inclusion in the Module List:
modid: File::Properties
DSLIP: bdpOg
description: Cached access to file properties
userid: WOHL (Brendt Wohlberg)
chapterid: 10 (File_Names_Systems_Locking)
communities:
Unknown
similar:
None known
rationale:
This module provides a class representing properties of a disk
file, with particular emphasis on media (image, video, and audio)
files. The mime type and a SHA-2 digest can be computed for any
regular file, and these properties are also available for the
content of bzip2 and gzip compressed files. Additional mime type and
EXIF properties are available for media files, and a SHA-2 digest of
the actual pixel data is available for image files. Since some of
these properties can be expensive to compute, data is cached in an
SQLite database so that properties only need to be computed from
file data on the initial access (for example, this can make an
enormous difference in efficiency when requesting a SHA-2 digest for
the content of a large compressed file).
File::Properties is the obvious choice of namespace given that the
module supports a number of properties of generic regular files.
Despite considerable searching of CPAN, I am not aware of any other
module providing similar functionality.
enteredby: WOHL (Brendt Wohlberg)
enteredon: Sat Nov 5 19:41:48 2011 GMT
The resulting entry would be:
File::
::Properties bdpOg Cached access to file properties WOHL
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=fb700000_2a5ba4f93e57c7da&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=fb700000_2a5ba4f93e57c7da&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=File%3A%3AProperties