Mihir Kamdar wrote:
Can you explain with reference to your code, what does this do: my $access = (stat $fname)[8];
In my last post I asked you to please bottom-post your responses to this group. That means to put your reply after the text of the message you are replying to. If you look at perldoc -f stat you will see that stat() returns 13 items of information about a file. The ninth (at index 8) is the time the file was last accessed , which I am storing in $access. HTH, Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/