Package Info

perl-File-Touch


Update File Access and Modification Times, Optionally Creating Files If Needed


Development/Libraries/Perl

Here's a list of arguments that can be used with the object-oriented contruction:

  • atime_only => [0|1]

If nonzero, change only the access time of files. Default is zero.

  • mtime_only => [0|1]

If nonzero, change only the modification time of files. Default is zero.

  • no_create => [0|1]

If nonzero, do not create new files. Default is zero.

  • reference => $reference_file

If defined, use timestamps from this file instead of current time. The timestamps are read from the reference file when the object is created, not when '<-'touch>> is invoked. Default is undefined.

  • time => $time

If defined, then this value will be used for both access time and modification time, whichever of those are set. This time is overridden by the 'atime' and 'mtime' arguments, if you use them.

  • atime => $time

If defined, use this time (in epoch seconds) instead of current time for access time.

  • mtime => $time

If defined, use this time (in epoch seconds) instead of current time for modification time.


License: Artistic-1.0 or GPL-1.0+
URL: http://search.cpan.org/dist/File-Touch/

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.11-bp155.2.10 info GA Release 2023-05-17 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch
0.11-bp154.1.26 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch
0.11-bp153.1.15 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch
0.11-bp152.3.15 info GA Release 2020-04-16 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch
0.11-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch
0.11-bp151.2.12 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch
0.11-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • perl-File-Touch