Try <code> and </code> tags =)
Close. stat's time functions give you the times since the epoch so you need to figure out how many seconds it's been. You should be able to get away with this:
This gets rid of the variables I'm guessing you're not using, as well.if ( time - (stat $_)[9] > 1200 ) { print "ERROR MESSAGE" }
Let me know if that works for ya. =)
-Ducky
In reply to Re: How do I use stat
by ducky
in thread How do I use stat
by bgator29
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |