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 39.808.585 Times

File::PathList 0.02

  Date Added: January 18, 2010  |  Visits: 934

File::PathList

Report Broken Link
Printer Friendly Version


Product Homepage
Download (85 downloads)



File::PathList is a Perl module that can find a file within a set of paths (like @INC or Java classpaths). SYNOPSIS # Create a basic pathset my $inc = File::PathList->new( @INC ); # Again, but with more explicit params my $inc2 = File::PathList->new( paths => @INC, cache => 1, ); # Get the full (localised) path for a unix-style relative path my $file = "foo/bar/baz.txt"; my $path = $inc->find_file( $file ); if ( $path ) { print "Found $file at $pathn"; } else { print "Failed to find $filen"; } Many systems that map generic relative paths to absolute paths do so with a set of base paths. For example, perl itself when loading classes first turn a Class::Name into a path like Class/Name.pm, and thens looks through each element of @INC to find the actual file. To aid in portability, all relative paths are provided as unix-style relative paths, and converted to the localised version in the process of looking up the path..

Requirements: No special requirements
Platforms: Linux
Keyword: File Filepathlist Find A Find A File Inc Libraries Module Path Pathlist Paths Perl Perl Module Programming Relative
Users rating: 0/10

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


FILE::PATHLIST RELATED
Libraries  -  Test::File::Find::Rule 1.00
Test::File::Find::Rule is a Perl module to test files and directories with File::Find::Rule. SYNOPSIS use Test::File::Find::Rule; # Check that all files in $dir have sensible names my $rule = File::Find::Rule ->file ->relative...
3.07 KB  
File Management  -  Simple File Splitter/Combiner module 1.3
This module can be used to split any file, text or binary to equal sized chunks. It can also combine the chunks back to recreate the original file.<s. It canOften we need to split big files into many chunks either for saving them to disks,...
 
Libraries  -  File::Attributes::Recursive 0.02
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...
25.6 KB  
Network & Internet  -  mod_mime_xattr 0.4
mod_mime_xattr is a simple Apache HTTPD module that lets you use file system extended attributes data for MIME type detection. The current version of mod_mime_xattr has support for Linux style EAs which are supported by Linux 2.4 with the ACL/EA...
73.73 KB  
Screen Savers  -  The Matrix Screensaver & Module 4.0
This is a screen saver / LS Module that reproduces the code that appears on the computer screens that are looking at what is going on inside of The Matrix. This screen saver can also be used as an executable (by renaming it to .exe). By doing so...
850 KB  
Libraries  -  PyCHM 0.8.4
PyCHM is a set of Python bindings for Jed Wings chmlib. These bindings are used by GnoCHM, a CHM file viewer for GNOME 2. The chm package contains four modules, namely chm.chm, chm.chmlib, chm.extra and chm._chmlib. chm.chmlib is a low level...
55.3 KB  
Libraries  -  Audio::Beep::Linux::beep 0.11
Audio::Beep::Linux::beep is a Audio::Beep player module using the beep program. SYNOPIS my $player = Audio::Beep::Linux::beep->new([%options]); USAGE The new class method can receive as option in hash fashion the following directives path...
33.79 KB  
Libraries  -  Search::FreeText 0.05
Search::FreeText is a free text indexing module for medium-to-large text corpuses. SYNOPSIS my $test = new Search::FreeText(-db => [DB_File, "stories.db"]); $text->open_index(); $text->clear_index(); $text->index_document(1, "Hello...
10.24 KB  
Backup Utilities  -  Binary Clock 2.5
Binary Clock is a gadget that will add to your desktop or Sidebar a binary clock. This is a clock displays the current time in binary notation. Save settings to file. (File will be created - Path: %APPDATA% Filename: gadgetname_Settings.ini)....
319 KB  
Utilities  -  fuse-ext2 2.0.0.7
Fuse-ext2 is a multi OS FUSE module to mount ext2 and ext3 file system devices and/or images with read write support.
556.79 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