![]() |
![]()
| ![]() |
![]()
NAMEFile::Attributes::Simple - the simplest implementation of File::Attributes SYNOPSISThis is the fallback for File::Attributes if it can't find anything better. It stores attributes as YAML files (named .filename.attributes) containing key/value pairs. You probably shouldn't use this class directly, see File::Attributes instead. METHODSAll the standard ones, namely: getsetunsetlistapplicableApplicable for every file. priorityPriority 1 (low). EXTENDINGIf you want to implement a file attribute scheme, and can do so doing hashrefs, this class might make your life easier. Simply subclass "File::Attributes::Simple" (this class), and override the following (private) methods:
I think OS X uses a format for storing filesystem attributes that could be implemented by overriding this class, but I don't have a Mac and couldn't find any documentation. BUGSSee bug reporting instructions in "BUGS" in File::Attributes. AUTHORJonathan Rockway "<jrockway at cpan.org>"
|