File::Stat::ModeString
Details
| Size: | 6K |
| Last Update: | 2008-06-08 03:02:19 |
| Version: | 1.00 |
| OS Support: | Linux |
| License/Program Type: | Perl Artistic License |
| Publisher: | Dmitry Fedorov |
| Price: | $0.00 |
Description:
File::Stat::ModeString 1.00 is libraries software developed by Dmitry Fedorov.
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:
Perl
File::Stat::ModeString 1.00 supports different languages (including english). It works with Linux.
Downloading File::Stat::ModeString 1.00 will take several seconds if you use fast ADSL connection.
0 comments
Add to
File::Stat::ModeString Version History
Related Software
|
|
From category: Libraries |
| Dir::List 1.4 is libraries software developed by Oliver Falk. Dir::List is a Perl module, that provides you with various information about a specified directory. For example, it can obtain the user... |
|
|
From category: Libraries |
| Audio::OSS 0.0501 is libraries software developed by David Huggins-Daines. Audio::OSS is a pure-perl interface to OSS (open sound system) audio devices. SYNOPSIS use Audio::OSS qw(:... |
|
|
From category: Libraries |
| C::Sharp::Tokener 0.01 is libraries software developed by Simon Cozens. C::Sharp::Tokener is a Tokeniser for C. SYNOPSIS use C::Sharp::Tokener; do { ($token, $... |
|
|
From category: Libraries |
| Convert::Cyrillic 1.05 is libraries software developed by John Neystadt. Convert::Cyrillic is a Perl module with routines for converting from one cyrillic charset to another. SYNOPSIS \... |
|
|
From category: Libraries |
| jXLS is small and easy-to-use Java library for generating Excel files using XLS templates.... |
|
|
From category: Libraries |
| Algorithm::C3 0.05 is libraries software developed by Stevan Little and Brandon L. Black. Algorithm::C3 is a module for merging hierarchies using the C3 algorithm. SYNOPSIS use Algo... |
|
|
From category: Libraries |
| atropine 0.2 is libraries software developed by Moe Aboulkheir. atropine is a screen-scraping library built on top of BeautifulSoup. atropine helps programmers make assertions about document str... |
|
|
From category: Libraries |
| DBIx::Class::FormTools 0.000004 is libraries software developed by David Jack Olrik. DBIx::Class::FormTools is a utility module for building forms with multiple related DBIx::Class objects.... |
|
|
From category: Libraries |
| Chemistry::SQL 0.01 is libraries software developed by Bernat Requesens. Chemistry::SQL is an access database functions module. SYNOPSIS use strict; use Chemistry::... |
|
|
From category: Compilers |
| Shed Skin is an experimental Python-to-C++ compiler.... |
|
|
From category: Libraries |
| Font::Scripts::AP 0.5 is libraries software developed by Font::Scripts::AP Team. Font::Scripts::AP is a Perl module for memory representation of a TTFBuilder Attachment Point database (APDB).... |
|
|
From category: Assembler-Tools |
| Avango 1.0.1 is assembler tools software developed by Jurgen Wind. Data distribution is achieved by transparent replication of a shared scene graph among the participating processes of a distribute... |
|
|
From category: Version-Control |
| cvsdadm 0.3.2 is version control software developed by Serge Gagnon. cvsdadm is a tool to assist CVSd administrators in the user admin of the CVSROOT/passwd, CVSROOT/readers, CVSROOT/writers files... |
|
|
From category: Libraries |
| AudioFile::Info 1.08 is libraries software developed by Dave Cross. AudioFile::Info is a Perl extension to get info from audio files. SYNOPSIS use AudioFile::Info; my $song... |
|
|
From category: Libraries |
| Apache::MP3 4.00 is libraries software developed by Lincoln Stein. Apache::MP3 is a Perl module that can generate streamable directories of MP3 and Ogg Vorbis files. SYNOPSIS httpd... |
Leave a comment