Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Is this a correct approach? Is it the best way when using perl? Thanks for any help...if (abs ((stat("/tmp/file"))[9] - time) < 1200) { more code }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Timestamp conditional
by friedo (Prior) on Jul 27, 2006 at 17:33 UTC | |
|
Re: Timestamp conditional
by derby (Abbot) on Jul 27, 2006 at 17:41 UTC | |
|
Re: Timestamp conditional
by sgifford (Prior) on Jul 27, 2006 at 19:58 UTC | |
|
Re: Timestamp conditional
by rodion (Chaplain) on Jul 27, 2006 at 20:01 UTC | |
|
Re: Timestamp conditional
by davorg (Chancellor) on Jul 28, 2006 at 07:59 UTC |