File::Spec - portably perform operations on file names

NAME SYNOPSIS DESCRIPTION METHODS SEE ALSO AUTHOR COPYRIGHT NAME File::Spec - portably perform operations on file names SYNOPSIS use File::Spec; $x=File::Spec->catfile('a', 'b', 'c'); which returns 'a/b/c' under Unix. Or: use File::Spec::Functions; $x = catfile('a', 'b', 'c'); DESCRIPTION This module is designed to support operations commonly performed on file specifications (usually called "file names", but not to be confused with the contents of a file, or Perl's file handles), such

File::Path - Create or remove directory trees

NAME VERSION SYNOPSIS DESCRIPTIONERROR HANDLING NOTES DIAGNOSTICS SEE ALSO BUGS ACKNOWLEDGEMENTS AUTHORS COPYRIGHT LICENSE NAME File::Path - Create or remove directory trees VERSION This document describes version 2.09 of File::Path, released 2013-01-17. SYNOPSIS use File::Path qw(make_path remove_tree); make_path('foo/bar/baz', '/zug/zwang'); make_path('foo/bar/baz', '/zug/zwang', { verbose => 1, mode => 0711, }); remove_tree('foo/bar/baz', '/zug/zwang'); remove_tree('foo/b

File::GlobMapper - Extend File Glob to Allow Input and Output Files

NAME SYNOPSIS DESCRIPTIONBehind The Scenes Limitations Input File Glob Output File Glob Returned Data EXAMPLESA Rename script A few example globmaps SEE ALSO AUTHOR COPYRIGHT AND LICENSE NAME File::GlobMapper - Extend File Glob to Allow Input and Output Files SYNOPSIS use File::GlobMapper qw( globmap ); my $aref = globmap $input => $output or die $File::GlobMapper::Error ; my $gm = new File::GlobMapper $input => $output or die $File::GlobMapper::Error ; DESCRIPTION This m

File::Glob - Perl extension for BSD glob routine

NAME SYNOPSIS DESCRIPTIONMETA CHARACTERS EXPORTS POSIX FLAGS DIAGNOSTICS NOTES SEE ALSO AUTHOR NAME File::Glob - Perl extension for BSD glob routine SYNOPSIS use File::Glob ':bsd_glob'; @list = bsd_glob('*.[ch]'); $homedir = bsd_glob('~gnat', GLOB_TILDE | GLOB_ERR); if (GLOB_ERROR) { # an error occurred reading $homedir } ## override the core glob (CORE::glob() does this automatically ## by default anyway, since v5.6.0) use File::Glob ':globally'; my @sources = <*.{c,h,y}>; ## o

File::Find - Traverse a directory tree.

NAME SYNOPSIS DESCRIPTION%options The wanted function WARNINGS CAVEAT BUGS AND CAVEATS HISTORY SEE ALSO NAME File::Find - Traverse a directory tree. SYNOPSIS use File::Find; find(\&wanted, @directories_to_search); sub wanted { ... } use File::Find; finddepth(\&wanted, @directories_to_search); sub wanted { ... } use File::Find; find({ wanted => \&process, follow => 1 }, '.'); DESCRIPTION These are functions for searching through directory trees doing work on each file fo

File::Fetch - A generic file fetching mechanism

NAME SYNOPSIS DESCRIPTION ACCESSORS METHODS$ff = File::Fetch->new( uri => 'http://some.where.com/dir/file.txt' ); $where = $ff->fetch( [to => /my/output/dir/ | \$scalar] ) $ff->error([BOOL]) HOW IT WORKS GLOBAL VARIABLES$File::Fetch::FROM_EMAIL $File::Fetch::USER_AGENT $File::Fetch::FTP_PASSIVE $File::Fetch::TIMEOUT $File::Fetch::WARN $File::Fetch::DEBUG $File::Fetch::BLACKLIST $File::Fetch::METHOD_FAIL MAPPING FREQUENTLY ASKED QUESTIONSSo how do I use a proxy with File::Fet

File::DosGlob - DOS like globbing and then some

NAME SYNOPSIS DESCRIPTION EXPORTS (by request only) BUGS AUTHOR HISTORY SEE ALSO NAME File::DosGlob - DOS like globbing and then some SYNOPSIS require 5.004; # override CORE::glob in current package use File::DosGlob 'glob'; # override CORE::glob in ALL packages (use with extreme caution!) use File::DosGlob 'GLOBAL_glob'; @perlfiles = glob "..\\pe?l/*.p?"; print <..\\pe?l/*.p?>; # from the command line (overrides only in main::) > perl -MFile::DosGlob=glob -e "print <../pe*/*

File::Copy - Copy files or filehandles

NAME SYNOPSIS DESCRIPTION RETURN AUTHOR NAME File::Copy - Copy files or filehandles SYNOPSIS use File::Copy; copy("sourcefile","destinationfile") or die "Copy failed: $!"; copy("Copy.pm",\*STDOUT); move("/dev1/sourcefile","/dev2/destinationfile"); use File::Copy "cp"; $n = FileHandle->new("/a/file","r"); cp($n,"x"); DESCRIPTION The File::Copy module provides two basic functions, copy and move , which are useful for getting the contents of a file from one place to another. copy The co

File::Compare - Compare files or filehandles

NAME SYNOPSIS DESCRIPTION RETURN AUTHOR NAME File::Compare - Compare files or filehandles SYNOPSIS use File::Compare; if (compare("file1","file2") == 0) { print "They're equal\n"; } DESCRIPTION The File::Compare::compare function compares the contents of two sources, each of which can be a file or a file handle. It is exported from File::Compare by default. File::Compare::cmp is a synonym for File::Compare::compare. It is exported from File::Compare only by request. File::Compare::com

File::Basename - Parse file paths into directory, filename and suffix.

NAME SYNOPSIS DESCRIPTION SEE ALSO NAME File::Basename - Parse file paths into directory, filename and suffix. SYNOPSIS use File::Basename; ($name,$path,$suffix) = fileparse($fullname,@suffixlist); $name = fileparse($fullname,@suffixlist); $basename = basename($fullname,@suffixlist); $dirname = dirname($fullname); DESCRIPTION These routines allow you to parse file paths into their directory, filename and suffix. NOTE: dirname() and basename() emulate the behaviours, and quirks, of the she