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.059.034 Times

File::Attributes 0.04

  Date Added: October 02, 2010  |  Visits: 1.636

File::Attributes

Report Broken Link
Printer Friendly Version


Product Homepage
Download (106 downloads)



File::Attributes is a Perl module to manipulate file metadata. SYNOPSIS use File::Attributes qw(set_attribute list_attributes get_all_attributes); my $file = foo.txt; set_attribute($file, type => text/plain); set_attribute($file, encoding => utf8); my @attributes = list_attributes($file); # @attributes = qw(type encoding) %attributes = get_attributes($file); # $attributes{type} will be text/plain # $attributes{foo} will be undefined. File::Attributes is a wrapper around modules in the File::Attributes hierarchy. If you use this module directly (instead of one of the aforementioned decendants), then your attribute manipulations will Just Work, regardless of the underlying filesystem. Module::Pluggable is used to find all File::Attributes:: modules that inherit from File::Attributes::Base and that are applicable on your system. If it finds one, it uses that. If not, it uses File::Attributes::Simple, which is bundled with this module and works everywhere. As of version 0.04, plugins are now set up per-file, not per-system. This means that if you have File::Attributes::Extended installed, extended attributes will be used where available, but Simple attributes will be used on files where extended attributes dont work (a FAT filesytem on a Linux machine, for example). Existing simple attributes will be read even if extended attributes are available, but writes will affect only the extended attributes. This means that you can switch to a better attribute plugin at any time, without losing any old data!.

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Attributes Extended Attributes File Fileattributes Libraries Module Perl Perl Module Programming Will Be
Users rating: 0/10

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


FILE::ATTRIBUTES RELATED
Libraries  -  File::Listing 5.805
File::Listing is a Perl module to parse directory listing. SYNOPSIS use File::Listing qw(parse_dir); for (parse_dir(`ls -l`)) { ($name, $type, $size, $mtime, $mode) = @$_; next if $type ne f; # plain file #... } # directory listing can...
235.52 KB  
Libraries  -  File::Flock 104.111901
File::Flock is a Perl module for file locking with flock. SYNOPSIS use File::Flock; lock($filename); lock($filename, shared); lock($filename, undef, nonblocking); lock($filename, shared, nonblocking); unlock($filename); my $lock =...
6.14 KB  
Libraries  -  File::Backup 0.07
File::Backup is a Perl module for easy file backup & rotation automation. SYNOPSIS use File::Backup; backup( from => "/source/path", to => "/destination/path" ); backup( from => "/kansas/*", to => "/oz" ); purge_backups( to =>...
8.19 KB  
Libraries  -  File::Wildcard 0.10
File::Wildcard is a Perl module for enhanced glob processing. SYNOPSIS use File::Wildcard; my $foo = File::Wildcard->new(path => "/home/me///core"); while (my $file = $foo->next) { unlink $file; } When looking at how various operating...
23.55 KB  
Libraries  -  File::Format::RIFF 1.0.1
File::Format::RIFF is a Perl module to Resource Interchange File Format/RIFF files. SYNOPSIS use File::Format::RIFF; open( IN, file ) or die "Could not open file: $!"; my ( $riff1 ) = File::Format::RIFF->read( *IN ); close( IN );...
9.22 KB  
Libraries  -  File::Slurp 9999.12
File::Slurp is a Perl module for efficient reading/writing of complete files. SYNOPSIS use File::Slurp; my $text = read_file( filename ) ; my @lines = read_file( filename ) ; write_file( filename, @lines ) ; use File::Slurp qw( slurp )...
26.62 KB  
Modules  -  Flash Module 1.0
This module allows you to store a flash file in a Module. Parameters can be set like the path, size and the quality of the flash file.
 
Libraries  -  Perl::Critic::Config 1.061
Perl::Critic::Config is a Perl module to find and load Perl::Critic user-preferences. Perl::Critic::Config takes care of finding and processing user-preferences for Perl::Critic. The Config object defines which Policy modules will be loaded into...
245.76 KB  
Libraries  -  Module::AutoINC 0.02
SYNOPSIS perl -MModule::AutoINC ABSTRACT When Module::AutoINC is loaded, it will add itself to @INC and catch any requests for missing resources. If a Perl module is requested that has not been installed, then this will attempt to...
5.12 KB  
File Utilities  -  Tux Commander 0.5.70
Tux Commander is open-source file manager with 2 panels side by side written for GTK2. It is developed using Borland Kylix 3 Open Edition (Object Pascal language). The main goal of this project is to create powerful user-friendly file manager for...
409.6 KB  
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