in reply to How old is my computer?
Dunno for certain, but you might find something appropriate in the Script Center Repository: Sample Perl Scripts.
HTH,