File-Util

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


 - These two methods take no arguments, and return only the value of the
   previously EXPORT_OK'ed "$OS" and "$EBCDIC"

 - Added more thorough testing to distribution tests lineup, and an
   additional set of tests in an automated "empty subclass test" of the
   modules native methods and all those it inherits from its ancestral
   classes.

 - More flock() related tweaking in private methods that implement
   File::Util's automatic, transparent file locking mechanism.

3.13_3 2002-11-13
 - Slightly optimized recursive directory listing features of package method
   File::Util::list_dir() and moved less-used method File::Util::load_dir()
   to AUTOLOAD.

 - Got rid of stupid method File::Util::EB which was previously
   used for error bracketing around dynamic values quoted in error messages;
   this has nothing to do with file handling -the purpose of this module.

NEWS  view on Meta::CPAN

   happened when development first shifted to the use of Dist::Zilla.


Thu Jan 10 22:44:45 CST 2013
   The latest release (v 4.0) brings many fixes to the table.  The fixes
   affect nearly all platforms and architectures.  Users are encouraged to
   upgrade, as this is not merely a features-added release.

   Fundamental changes in the internal layout of File::Util have been
   made; it isn't a single module file anymore.  This does NOT affect the
   end user.  To the user, this change is completely transparent and does
   not affect their programs or libraries that use File::Util.

   This change is a step forward in the stated goal of File::Util to bring
   a more "modern" (as in Modern::Perl) interface to the user while
   preserving compatibility with current syntax.

   Also in this release we move to auto-versioning a la Dist::Zilla plugins
   PkgVersion and AutoVersion (thank you to the authors of those plugins)

   Further, the test suite has been updated to make use of Test::More and

lib/File/Util/Manual.pod  view on Meta::CPAN


=item I<Syntax:> C<< make_dir( [new directory name], [bitmask] => { options } ) >>

Attempts to create (recursively) a directory as [new directory name] with
the [bitmask] provided.  The bitmask is an optional argument and defaults to
oct 777, B<combined with the current user's umask>.  If specified, the bitmask
must be supplied in the form required by the native perl umask function (as
an octal number).  I<see L<perlfunc/"umask">> for more information about the
format of the bitmask argument.

As mentioned above, the recursive creation of directories is transparently
handled for you.  This means that if the name of the directory you pass in
contains a parent directory that does not exist, the parent directory(ies) will
be created for you automatically and silently in order to create the final
directory in the [new directory name].

Simply put, if [new directory] is "/path/to/directory" and the directory
"/path/to" does not exist, the directory "/path/to" will be created and the
"/path/to/directory" directory will be created thereafter.  All directories
created will be created with the [bitmask] you specify, or with the default
of oct 777, B<combined with the current user's umask>.



( run in 0.522 second using v1.01-cache-2.11-cpan-0a6323c29d9 )