Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.247.523 Times

File::Attributes::Recursive 0.02

  Date Added: October 03, 2010  |  Visits: 1.534

File::Attributes::Recursive

Report Broken Link
Printer Friendly Version


Product Homepage
Download (118 downloads)



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.) Whats New in This Release: - Perl.

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Attributes File File Attributes Fileattributesrecursive Libraries Module Programming Recursively Top
Users rating: 0/10

License: Freeware Size: 25.6 KB
USER REVIEWS
More Reviews or Write Review


FILE::ATTRIBUTES::RECURSIVE RELATED
Libraries  -  Config::File 1.4
Config::File is a Perl module to parse a simple configuration file. SYNOPSIS use Config::File; my $config_hash = Config::File::read_config_file($configuration_file); read_config_file parses a simple configuration file and stores its values...
4.1 KB  
Libraries  -  App::Conf::File 0.965
App::Conf::File is a Perl module to load and access configuration data. SYNOPSIS use App::Conf; $config = App::Conf->new(); $config = App::Conf->new(configFile => $file); print $config->dump(), "n"; # use Data::Dumper to spit out the Perl...
122.88 KB  
Libraries  -  File::Where 0.05
File::Where is a Perl module to find the absolute file for a program module; absolute dir for a repository. SYNOPSIS ####### # Subroutine interface # use File::Where qw(pm2require where where_dir where_file where_pm where_repository);...
83.97 KB  
Modules  -  Support File Cache 5.x-1.2
Support file Cache is a module that allows more intelligent bundling of CSS and javascript files by grouping only files that belong together. While the aggregation mechanism in the Drupal core creates a new d-deDUbundled-deDt for each set of...
51.2 KB  
Programming  -  pyconf 0.4
pyconf is a Python library that loads a file into a Python module object but does not place it in the module cache or otherwise bind it. >>> import posixpath >>> conf = load(posixpath.__file__) >>> conf # doctest: +ELLIPSIS
10.24 KB  
Libraries  -  FLV::VideoTag 0.11
FLV::VideoTag is a flash video file data structure Perl module. METHODS This is a subclass of FLV::Base. $self->parse($fileinst) Takes a FLV::File instance and extracts an FLV video tag from the file stream. This method throws exceptions...
 
Programming  -  PetitTemplate 1.0
text template system (Perl5): * only one-file * only perl5-core-module * no use 'eval' * but, it can bool-expr (ex.'(name =~ 'washing_powder') && (price < 10)')
7.15 KB  
Video Players  -  DVD-Ranger Player 2.3.0.6
DVD-Ranger Player is the most advanced Blu-ray, DVD video and audio file player. Providing impressive video quality and top-notch features to handle high-quality content while still being lightweight and intuitive. With new FrameDoubler...
11.37 MB  
Utilities  -  Bezipped for Mac OS 1.0
A file compression and archive utility built on top of the bzip2 command line tool that comes with Mac OS X. In general, Bezipped creates smaller archives than those generated by Finders 'Compress' functionality. Couple that with the fact that...
768 KB  
Programming  -  Lemick Basic 32
Lemick is a project to make a programming language similar to those traditional Basic implementations but with all the attributes of the modern programming tool
3.14 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB