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

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

Serving Software Downloads in 976 Categories, Downloaded 29.613.060 Times

File::BSDGlob 0.94

  Date Added: August 11, 2010  |  Visits: 645

File::BSDGlob

Report Broken Link
Printer Friendly Version


Product Homepage
Download (70 downloads)



File::BSDGlob is a Perl extension for BSD glob routine. SYNOPSIS use File::BSDGlob :glob; @list = glob(*.[ch]); $homedir = glob(~gnat, GLOB_TILDE | GLOB_ERR); if (GLOB_ERROR) { # an error occurred reading $homedir } ## override the core glob (even with -T) use File::BSDGlob globally; my @sources = <*.{c,h,y}> File::BSDGlob implements the FreeBSD glob(3) routine, which is a superset of the POSIX glob() (described in IEEE Std 1003.2 "POSIX.2"). The glob() routine takes a mandatory pattern argument, and an optional flags argument, and returns a list of filenames matching the pattern, with interpretation of the pattern modified by the flags variable. The POSIX defined flags are: GLOB_ERR Force glob() to return an error when it encounters a directory it cannot open or read. Ordinarily glob() continues to find matches. GLOB_MARK Each pathname that is a directory that matches the pattern has a slash appended. GLOB_NOCHECK If the pattern does not match any pathname, then glob() returns a list consisting of only the pattern. If GLOB_QUOTE is set, its effect is present in the pattern returned. GLOB_NOSORT By default, the pathnames are sorted in ascending ASCII order; this flag prevents that sorting (speeding up glob()). The FreeBSD extensions to the POSIX standard are the following flags: GLOB_BRACE Pre-process the string to expand {pat,pat,...} strings like csh(1). The pattern {} is left unexpanded for historical reasons (and csh(1) does the same thing to ease typing of find(1) patterns). GLOB_NOMAGIC Same as GLOB_NOCHECK but it only returns the pattern if it does not contain any of the special characters "*", "?" or "[". NOMAGIC is provided to simplify implementing the historic csh(1) globbing behaviour and should probably not be used anywhere else. GLOB_QUOTE Use the backslash () character for quoting: every occurrence of a backslash followed by a character in the pattern is replaced by that character, avoiding any special interpretation of the character. GLOB_TILDE Expand patterns that start with ~ to user name home directories. GLOB_CSH For convenience, GLOB_CSH is a synonym for GLOB_BRACE | GLOB_NOMAGIC | GLOB_QUOTE | GLOB_TILDE. The POSIX provided GLOB_APPEND, GLOB_DOOFFS, and the FreeBSD extensions GLOB_ALTDIRFUNC, and GLOB_MAGCHAR flags have not been implemented in the Perl version because they involve more complex interaction with the underlying C structures..

Requirements: No special requirements
Platforms: Linux
Keyword: Bsdglob Csh Extension Filebsdglob Flags Libraries Nomagic Pattern Perl Posix Programming Quote Tilde
Users rating: 0/10

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


FILE::BSDGLOB RELATED
Libraries  -  Filesys::SamFS 0.035
Filesys::SamFS is a Perl extension mapping the SamFS API to Perl. SYNOPSIS use Filesys::SamFS; Filesys::SamFS makes the SamFS API available to Perl. SamFS is a HSM (Hierarchical Storage Management) Filesystem; it manages files in two storage...
18.43 KB  
Libraries  -  Inline::Lua 0.04
Inline::Lua is a Perl extension for embedding Lua scripts into Perl code. SYNOPSIS use Inline Lua; print "The answer to life, the universe and everything is ", answer(6, 7), "n"; __END__ __Lua__ function answer (a, b) return a*b end...
24.58 KB  
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
Libraries  -  File::Glob 5.8.8
File::Glob is a Perl extension for BSD glob routine. SYNOPSIS use File::Glob :glob; @list = bsd_glob(*.[ch]); $homedir = bsd_glob(~gnat, GLOB_TILDE | GLOB_ERR); if (GLOB_ERROR) { # an error occurred reading $homedir } ## override the...
12.2 MB  
Libraries  -  PHP WebDAV extension 1.1
PHP WebDAV extension project allows easy access to remote resources with PHP through the DAV protocol. Installation This extension requires the Neon library and the related header files. Neon can be downloaded from:...
235.52 KB  
Libraries  -  B::Flags 0.01
B::Flags is a Perl module that provides a friendlier flags for B. SYNOPSIS use B::Flags; print B::main_root->flagspv; print B::main_root->privatepv; print $some_b_sv_object->flagspv; By default, $foo->flags when passed an object in the B...
4.1 KB  
Libraries  -  Lua Filesystem Extension Library 0.1
This extension library provides the filesystem primitives to your Lua scripts, which are missing from the core language. The exported primitives include mkdir, rmdir, stat, chown, chmod, and more. Available filesystem primitives: chdir()...
10.24 KB  
Libraries  -  Memchan 2.2a4
Memchan is an extension library to the script language Tcl, as created by John Ousterhout. Memchan provides several new channel types for in-memory channels and the appropriate commands for their creation. They are useful to transfer large...
215.04 KB  
Libraries  -  Search::Glimpse 0.02
Search::Glimpse is a Perl extension to communicate with Glimpse server. SYNOPSIS use Search::Glimpse; my $glimpse = Search::Glimpse->new; my @results = $glimpse->search("search this string"); ABSTRACT This module is an extension to use...
4.1 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.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...
2.73 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