File::Attributes::Recursive 0.02
Sponsored Links
File::Attributes::Recursive 0.02 Ranking & Summary
File size:
0.025 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
821
Date added:
2007-07-25
Publisher:
Jonathan Rockway
File::Attributes::Recursive 0.02 description
File::Attributes::Recursive module contains inherit file attributes from parent directories.
SYNOPSIS
Works like File::Attributes, but will recurse up the directory tree until a matching attribute is found.
EXPORT
None, by default. Specify the functions youd like to use as arguments to the module. :all means export everything.
FUNCTIONS
get_attribute_recursively($file, [$top], $attribute)
Returns the value of attribute $attribute. If $top is specified, then the search will terminate when the path no longer contains $top. (i.e. if $file is /foo/bar/baz/quux and $top is
get_attributes_recursively($file, [$top])
Returns a hash of key value pairs for all attributes that apply to $file. Only the closest attributes are returned. Given:
/a (a = yes, foo = bar)
/a/b (b = yes, foo = baz)
/a/b/c (c = yes)
get_attributes_recursively(/a/b/c, /a) will return:
(a => yes, b => yes, c => yes, foo => baz).
The foo => bar is masked by the "closer" foo => baz.
list_attributes_recursively($file, [$top])
Returns a list of attributes that are defined and apply to $file. Like keys get_attributes_recursively($file, [$top]), but faster.
NOTABLY ABSENT FUNCTIONS
unset_attribute_recursively
There are two possible ways for this function to behave -- either recurse until the attribute is removed, or recurse to top, removing the attribute at each level. The first doesnt make sense, and the second is dangerous. If you need this function, write it for the specific needs of your application; I think thats the safest thing to do.
(Note that rm refuses to rm .., so I think theres some precedent here.)
Enhancements:
- Perl
SYNOPSIS
Works like File::Attributes, but will recurse up the directory tree until a matching attribute is found.
EXPORT
None, by default. Specify the functions youd like to use as arguments to the module. :all means export everything.
FUNCTIONS
get_attribute_recursively($file, [$top], $attribute)
Returns the value of attribute $attribute. If $top is specified, then the search will terminate when the path no longer contains $top. (i.e. if $file is /foo/bar/baz/quux and $top is
get_attributes_recursively($file, [$top])
Returns a hash of key value pairs for all attributes that apply to $file. Only the closest attributes are returned. Given:
/a (a = yes, foo = bar)
/a/b (b = yes, foo = baz)
/a/b/c (c = yes)
get_attributes_recursively(/a/b/c, /a) will return:
(a => yes, b => yes, c => yes, foo => baz).
The foo => bar is masked by the "closer" foo => baz.
list_attributes_recursively($file, [$top])
Returns a list of attributes that are defined and apply to $file. Like keys get_attributes_recursively($file, [$top]), but faster.
NOTABLY ABSENT FUNCTIONS
unset_attribute_recursively
There are two possible ways for this function to behave -- either recurse until the attribute is removed, or recurse to top, removing the attribute at each level. The first doesnt make sense, and the second is dangerous. If you need this function, write it for the specific needs of your application; I think thats the safest thing to do.
(Note that rm refuses to rm .., so I think theres some precedent here.)
Enhancements:
- Perl
File::Attributes::Recursive 0.02 Screenshot
Advertisements
File::Attributes::Recursive 0.02 Keywords
Recursive 0.02
File attributes
file
attributes
attribute
top
recursively
module
File::Attributes::Recursive
FileAttributesRecursive
File::Attributes::Recursive 0.02
Libraries
Programming
Bookmark File::Attributes::Recursive 0.02
File::Attributes::Recursive 0.02 Copyright
WareSeeker periodically updates pricing and software information of File::Attributes::Recursive 0.02 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of File::Attributes::Recursive 0.02 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
attributes of jesus
personal attributes
attributes definition
attributes god
attributes of god
attributes of the holy spirit
html attributes
what are the attributes of god
attributes of christ
set attributes
leadership attributes
attributes of allah
what are attributes
attributes of a leader
attributes svr09
attributes of people
attributes of a good leader
software design attributes
Related Software
File::Attributes is a Perl module to manipulate file metadata. Free Download
File::Copy::Recursive is a Perl extension for recursively copying files and directories. Free Download
Attribute::Handlers is a multi-purpose, highly customizable Linux programming tool. Free Download
Be::Attribute is a Perl module to get and set MIME file attributes. Free Download
Class::Declare::Attributes is a Perl module with Class::Declare method types using Perl attributes. Free Download
Product Attribute Pictures v3.0 PLUS allows users to upload and manage images that appear on their product information pages. Display images in up to 3 different sizes - thumbnails, enlarged image (without reloading the page), and stylish Javascript popup. Also includes a choice of 4 layouts, attribute selection for inclusion in cart, display of the selected attribute picture in cart page and bulk copying of pictures to other products. Free Download
Extended attributes for Python is a Python module created to manipulate extended attributes in filesystems that support them. Free Download
Module::Recursive::Require is a Perl class that requires module recursively. Free Download
Latest Software
Popular Software
Favourite Software