NAME

Touch - touch a file

VERSION

Version 0.01_01

SYNOPSIS

use Touch;

my $self = "somefile";
touch($myself)  # file created or atime and mtime modified
   or die "touch() failed: $!";

FUNCTIONS

touch EXPR

Updates the access and modification times of the file indicated by EXPR to the current time.

TODO

There are a lot of additional options that surely would be nice to have. They include:

Ability to touch based on a FILEHANDLE or a DIRHANDLE on systems with the futimes() C library function.
Ability to set just access or modification times.
Ability to indicate the time and date to use.
Ability to set times based on another existing file, filehandle, or dirhandle.
Ability to set times to the nanosecond level on system that support it.

AUTHOR

Steve Peters, <steve at fisharerojo.org>

BUGS

Please report any bugs or feature requests to bug-touch at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Touch. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc Touch

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2006 Steve Peters, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.