Config::Manager::File - Basic File Utilities


NAME

Config::Manager::File - Basic File Utilities (for Tools)


SYNOPSIS

  use Config::Manager::File
  qw(
        Normalize
        MakeDir
        UniqueTempFileName
        ConvertFromHost
        ConvertToHost
        CompareFiles
        CopyFile
        MoveByCopying
        MD5Checksum
        ReadFile
        WriteFile
        AppendFile
        ConvertFileWithCallback
        SerializeSimple
        Semaphore_Passeer
        Semaphore_Verlaat
        GetNextTicket
  );
  use Config::Manager::File qw(:all);
  $dir = Normalize($dir);
  ($drv,$dir) = Normalize($dir);
  $error = MakeDir($dir);
  $tempfilename = &UniqueTempFileName();
  &ConvertFromHost($targetfile,$sourcefile,$linenumbering,$purgeblanks);
  &ConvertToHost($targetfile,$sourcefile,$linenumbering,$purgeblanks,$checklength);
  $same = &CompareFiles($file1,$file2);
  &CopyFile($source,$target);
  &MoveByCopying($source,$target);
  $checksum = &MD5Checksum($source);
  $arrayref = &ReadFile($source);
  &WriteFile($target,@contents);
  &AppendFile($target,$source);
  &ConvertFileWithCallback($target,$source,$callback);
  $printable = &SerializeSimple("varname",$datastructure);
  Semaphore_Passeer($lockfile);
  Semaphore_Verlaat($lockfile);
  $ticket = GetNextTicket($lockfile,$ticketfile,$count_min,$count_max);


DESCRIPTION


SEE ALSO

Config::Manager(3), Config::Manager::Base(3), Config::Manager::Conf(3), Config::Manager::PUser(3), Config::Manager::Report(3), Config::Manager::SendMail(3), Config::Manager::User(3).


VERSION

This man page documents "Config::Manager::File" version 1.7.


AUTHORS

 Steffen Beyer <sb@engelschall.com>
 http://www.engelschall.com/u/sb/download/
 Gerhard Albers


COPYRIGHT

 Copyright (c) 2003 by Steffen Beyer & Gerhard Albers.
 All rights reserved.


LICENSE

This package is free software; you can use, modify and redistribute it under the same terms as Perl itself, i.e., under the terms of the "Artistic License" or the "GNU General Public License".

Please refer to the files "Artistic.txt" and "GNU_GPL.txt" in this distribution, respectively, for more details!


DISCLAIMER

This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

See the "GNU General Public License" for more details.