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

File::Stat::ModeString 1.00

  Date Added: January 01, 2010  |  Visits: 1.300

File::Stat::ModeString

Report Broken Link
Printer Friendly Version


Product Homepage
Download (98 downloads)



File::Stat::ModeString - conversion file stat mode to/from string representation. SYNOPSIS use File::Stat::ModeString; $string = mode_to_string ( $st_mode ); $st_mode = string_to_mode ( $string ); $type = mode_to_typechar( $st_mode ); $record = < IN >; chomp $record; $record =~ m/^some_prefixs+$MODE_STRING_REs+some_suffix$/o or die "invalid record format"; die "Invalid mode in $string" if is_mode_string_valid( $string ); This module provides a few functions for conversion between binary and literal representations of file mode bits, including file type. All of them use only symbolic constants for mode bits from File::Stat::Bits. CONSTANTS $MODE_STRING_RE Regular expression to match mode string (without ^$). FUNCTIONS is_mode_string_valid( $string ) Returns true if argument matches mode string pattern. $type = mode_to_typechar( $mode ) Returns file type character of binary mode, ? on unknown file type. $string = mode_to_string( $mode ) Converts binary mode value to string representation. ? in file type field on unknown file type. $mode = string_to_mode( $string ) Converts string representation of file mode to binary one..

Requirements: No special requirements
Platforms: Linux
Keyword: Conversion File File Type Filestatmodestring Libraries Mode Modestring Programming Stat String Type
Users rating: 0/10

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


FILE::STAT::MODESTRING RELATED
Libraries  -  Audio::File::Type 0.10
Audio::File::Type represents an audio filetype. An instance of an object inherited from Audio::File::Type is returned by the constructor of Audio::File. This object currently provides access to the audio files information like its audio...
74.75 KB  
Libraries  -  File::Type::Builder 0.22
File::Type::Builder is Perl module to parse mime-magic and generate code. SYNOPSIS my $build = File::Type::Builder->new(); while ( ) { chomp; my $parsed = $build->parse_magic($_); my $code = $build->string_start($parsed); (or...
153.6 KB  
Desktop Utilities  -  File type determination 0.9
File type determination is a little KDE Service Menu that calls the GNU file command to retrieve Mime information from files, and presents it inside a standard KDE dialog..
 
Utilities  -  What's This File Type 1.4
Tells you what a file is, and what program created it. All you have to do is right-click on the file, and select 'Bloody Hell! What's this File Type?' (other text available if you're sensitive). If you have a file extension and you have no idea...
414 KB  
Communication Tools  -  File Type Checker 1.0
File Type Checker checks the file data to determine the actual file type. As of this writing filetypechecker supports doc, rtf, xls, pdf, jpg, jpeg, and gif. more file support will be added soon.
47.05 KB  
Networking  -  Exclude File Type Requests 1.0
If you use the pretty permalinks feature of WordPress, any request that doesn't match to a file on the server will be passed to WordPress for handling. This results in 404 hits having more load on your server than a traditional 404 request. In...
10 KB  
Utilities  -  Automatic File Converter 0.2
Automatic File type converter Daemon - automatically converts the file type while renaming a file, based on the source and destination file extension. Currently it supports conversion for image types and provides a GTK+ frontend.
337.92 KB  
Libraries  -  File::MMagic 1.27
File::MMagic is a Perl module to guess file type. SYNOPSIS use File::MMagic; use FileHandle; $mm = new File::MMagic; # use internal magic file # $mm = File::MMagic->new(/etc/magic); # use external magic file # $mm =...
21.5 KB  
Libraries  -  Audio::File 0.10
Audio::File is a audio file abstraction library. SYNOPSIS use Audio::File; my $file = Audio::File->new( "foo.bar" ); print "The ". $file->type() ."-file ". $file->name ." is ". int $file->length() ." seconds long.n"; print "Its...
74.75 KB  
Networking  -  Link File Info 0.5
For posts, any links to local media (images, documents, etc.) will automatically have the file type and size appended in parentheses, so visitors to your blog will know what they're about to download when they click links to media.Notes: *...
10 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