Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: palcrypt
  • Content: Threads
  • Order by date
  1. palcrypt

    Problem with strftime

    I have a variable called $filename that stores the location of a file. I'm using this code snippet $filestats = stat($filename); $thedate = $filestats->mtime; $datestr = strftime("%Y-%m-%d",$thedate); when it gets the the "$datestr = etc..." line I get this error: "- 255 CGI returned nonzero...
  2. palcrypt

    Reading Filenames into an Array

    It has been a while sine I last used Perl. So I'm a little rusty. What I want to do is write a script that will read the names of all the files in a folder into an array and sort them by they're date modified property. Any help would be greatly appreciated. Thanks.

Part and Inventory Search

Back
Top