File::Where

File::Where is a Perl module to find the absolute file for a program module; absolute dir for a repository.
Download

File::Where Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Software Diamonds
  • Publisher web site:
  • http://search.cpan.org/~softdia/Archive-TarGzip-0.03/lib/Docs/Site_SVD/Archive_TarGzip.pm

File::Where Tags


File::Where Description

File::Where is a Perl module to find the absolute file for a program module; absolute dir for a repository. File::Where is a Perl module to find the absolute file for a program module; absolute dir for a repository.SYNOPSIS ####### # Subroutine interface # use File::Where qw(pm2require where where_dir where_file where_pm where_repository); $program_module = is_module(@program_modules); @program_modules = dir_pms( $dir ); @program_modules = program_modules( $dir, 'file_flag', @dirs); $file = pm2require($pm); @program_modules = repository_pms($repository); $abs_file = where($relative_file); $abs_file = where($relative_file, @path); ($abs_file, $inc_path, $rel_fle) = where($relative_file) ($abs_file, $inc_path, $rel_fle) = where($relative_file, @path); $abs_dir = where($relative_dir, '', 'nofile'); $abs_dir = where($relative_dir, @path, 'nofile'); ($abs_dir, $inc_path, $rel_dir) = where($relative_dir, '', 'nofile'); ($abs_dir, $inc_path, $rel_dir) = where($relative_dir, @path, 'nofile'); $abs_dir = where_dir($relative_dir); $abs_dir = where_dir($relative_dir, @path; $abs_dir = where_dir($relative_dir, @path; ($abs_dir, $inc_path, $rel_dir) = where_dir($relative_dir); ($abs_dir, $inc_path, $rel_dir) = where_dir($relative_dir, @path); ($abs_dir, $inc_path, $rel_dir) = where_dir($relative_dir, @path); $abs_file = where_file($relative_file); $abs_file = where_file($relative_file, @path); $abs_file = where_file($relative_file, @path); ($abs_file, $inc_path, $rel_fle) = where_file($relative_file) ($abs_file, $inc_path, $rel_fle) = where_file($relative_file, @path) ($abs_file, $inc_path, $rel_fle) = where_file($relative_file, @path) $abs_file = where_pm($pm); $abs_file = where_pm($pm, @path); $abs_file = where_pm($pm, @path); ($abs_file, $inc_path, $require) = where_pm($pm); ($abs_file, $inc_path, $require) = where_pm($pm, @path); ($abs_file, $inc_path, $require) = where_pm($pm, @path); $abs_dir = where_repository($repository); $abs_dir = where_repository($repository, @path); $abs_dir = where_repository($repository, @path); ($abs_dir, $inc_path, $rel_dir) = where_repository($repository); ($abs_dir, $inc_path, $rel_dir) = where_repository($repository, @path); ($abs_dir, $inc_path, $rel_dir) = where_repository($repository, @path); ####### # Class interface # $program_module = File::Where->is_module(@program_modules); @program_modules = File::Where->dir_pms( $dir ); @program_modules = File::Where->program_modules( $dir, 'file_flag', @dirs); $file = File::Where->pm2require($pm); @program_modules = File::Where->repository_pms($repository); $abs_file = File::Where->where($relative_file); $abs_file = File::Where->where($relative_file, @path); $abs_dir = File::Where->where($relative_dir, '', 'nofile'); $abs_dir = File::Where->where($relative_dir, @path, 'nofile'); ($abs_file, $inc_path, $require) = File::Where->where($relative_file) ($abs_file, $inc_path, $require) = File::Where->where($relative_file, @path) ($abs_dir, $inc_path, $rel_dir) = File::Where->where($relative_dir, '', 'nofile'); ($abs_dir, $inc_path, $rel_dir) = File::Where->where($relative_dir, @path, 'nofile'); $abs_dir = File::Where->where_dir($relative_dir); $abs_dir = File::Where->where_dir($relative_dir, @path; $abs_dir = File::Where->where_dir($relative_dir, @path; ($abs_dir, $inc_path, $rel_dir) = File::Where->where_dir($relative_dir); ($abs_dir, $inc_path, $rel_dir) = File::Where->where_dir($relative_dir, @path); ($abs_dir, $inc_path, $rel_dir) = File::Where->where_dir($relative_dir, @path); $abs_file = File::Where->where_file($relative_file); $abs_file = File::Where->where_file($relative_file, @path); $abs_file = File::Where->where_file($relative_file, @path); ($abs_file, $inc_path, $require) = File::Where->where_file($relative_file) ($abs_file, $inc_path, $require) = File::Where->where_file($relative_file, @path) ($abs_file, $inc_path, $require) = File::Where->where_file($relative_file, @path) $abs_file = File::Where->where_pm($pm); $abs_file = File::Where->where_pm($pm, @path); $abs_file = File::Where->where_pm($pm, @path); ($abs_file, $inc_path, $require) = File::Where->where_pm($pm); ($abs_file, $inc_path, $require) = File::Where->where_pm($pm, @path); ($abs_file, $inc_path, $require) = File::Where->where_pm($pm, @path); $abs_dir = File::Where->where_repository($repository); $abs_dir = File::Where->where_repository($repository, @path); $abs_dir = File::Where->where_repository($repository, @path); ($abs_dir, $inc_path, $rel_dir) = File::Where->where_repository($repository); ($abs_dir, $inc_path, $rel_dir) = File::Where->where_repository($repository, @path); ($abs_dir, $inc_path, $rel_dir) = File::Where->where_repository($repository, @path);From time to time, an program needs to know the abolute file for a program module that has not been loaded. The File::Where module provides methods to find this information. For loaded files, using the hash %INC may perform better than using the methods in this module. Requirements: · Perl


File::Where Related Software