NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
What about roll-over? (Score:1)
Positive / Negative values (Score:3, Insightful)
This seems like the kind of trickery a newbie C hacker would use in the days when they're being too clever by half. Especially something that would have been common in the early 1990s when C was starting to catch on big time in the microcomputing world.
Thankfully, those days don't last very long (or there would be all sorts of other trickery hanging on the boolean nature of the sign bit.) Unfortunately, sometimes those tricks make it into public APIs.
Reply to This
find (Score:1)
So, -atime 5 means accessed 5 days ago, -atime -5 means accessed less than 5 days ago, and -atime +5 means accessed more than 5 days ago. Most of the time, you want a signed version. (How often do you want to find files used exactly 37 days ago, and be sure it wasn't 36 or 38?)
Sure... even in Perl! (Score:1)
I can give you two examples in Perl.