home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / perl / 7440 < prev    next >
Encoding:
Text File  |  1992-12-15  |  1.4 KB  |  34 lines

  1. Newsgroups: comp.lang.perl
  2. Path: sparky!uunet!caen!uvaarpa!mmdf
  3. From: Rick Emerson <rick@ssg.com>
  4. Subject: File age - how?
  5. Message-ID: <1992Dec15.185238.8977@uvaarpa.Virginia.EDU>
  6. Sender: mmdf@uvaarpa.Virginia.EDU (Mail System)
  7. Reply-To: rick@ssg.com
  8. Organization: The Internet
  9. Date: Tue, 15 Dec 1992 18:52:38 GMT
  10. Lines: 22
  11.  
  12. (I suspect this is only marginally a perl question)  I'm writing a script to
  13. list archived messages along with some additional notes.  I want to display
  14. the file's creation date (-C?) but the file's age isn't adequate here.  I
  15. need either a better way to extract this information or a "12.34 days from
  16. now was sometime on 3 Dec" routine.  The final table (excluding formatting)
  17. is something like this:
  18.    file_name file_size file_created message_subject
  19. with some additional comments about the table.  
  20.  
  21. I looked at ctime.pl but that works forward from a reference date.
  22.  
  23. Replies directly to rick@ssg.com will be appreciated as I'm a little pushed
  24. for time on this puppy.  I'll summarize replies here.
  25.  
  26. Rick
  27.  
  28.  
  29. | Richard B. Emerson     | Replies may be sent to:                         |
  30. | System Support Group   |                        rick@ssg.com             |
  31. | 940 Delaware Avenue    |-------------------------------------------------+
  32. | Lansdale, PA 19446 USA | "When you ski, you dance with the mountain --   |
  33. | Voice: 215.855.1607    |  and the mountain always leads."                |
  34.