File::AnySpecFile::AnySpec is a Perl module to perform operations on foreign (remote) file names. | |
Download |
File::AnySpec Ranking & Summary
Advertisement
- 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::AnySpec Tags
File::AnySpec Description
File::AnySpec is a Perl module to perform operations on foreign (remote) file names. File::AnySpec is a Perl module to perform operations on foreign (remote) file names.SYNOPSIS # Subroutine Interface # use File::AnySpec qw(fspec2fspec pm2fspec os2fspec fspec2os fspec_glob fspec2pm); $file = fspec2fspec($from_fspec, $to_fspec $fspec_file, ) $os_file = fspec2os($fspec, $file, ) $fspec_file = os2fspec($fspec, $file, ) $pm = fspec2pm($fspec, $require_file) ($abs_file, $inc_path, $require_file) = pm2fspec($fspec, $pm) @globed_files = fspec_glob($fspec, @files) # Class Interface # use File::AnySpec use vars qw(@ISA) @ISA = qw(File::AnySpec) $file = __PACKAGE__->fspec2fspec($from_fspec, $to_fspec $fspec_file, ) $os_file = __PACKAGE__->fspec2os($fspec, $file, ) $fspec_file = __PACKAGE__->os2fspec($fspec, $file, ) $pm = __PACKAGE__->fspec2pm($fspec, $require_file) ($abs_file, $inc_path, $require_file) = __PACKAGE__->pm2fspec($fspec, $pm) @globed_files = __PACKAGE__->fspec_glob($fspec, @files)Methods in this package, perform operations on file specifications for operating systems other then the current site operating system. The input variable $fspec tells the methods in this package the file specification for file names used as input to the methods. Thus, when using methods in this package, the method may load up to two File::Spec submodules methods and neither of them is a submodule for the current site operating system. Requirements: · Perl
File::AnySpec Related Software