Please can anyone tell me how do I could make search script to find my
chat.txt and print by date and time?
Please choose a subject line that is descriptive of your question.
Your question has nothing to do with Google.
You may use the File::Find module to find the file itself:
perldoc File::Find
You may use the stat function to extract info about the file's inode
(date/time, user):
perldoc -f stat
You may use the print() function to print the information:
perldoc -f print
You may wish to format your output. You may do that a number of ways,
including:
perldoc -f format
perldoc -f printf
I have no idea what you mean by "comment". A file's inode does not
store a comment. Where do you expect to obtain the comment from?
Please read the posting guidelines for this newsgroup:
http://www.rehabitation.com/clpmisc/clpmisc_guidelines.html