A correction for Lee and Trevor. The "-M" function is not the same as (stat $file)[9] which is what the original poster wanted (i.e. mtime of a file).

You're right of course: not a very good mnemonic. And whilst I'm showing my ignorance, can someone please explain to me why stat needs so many brackets? Same for localtime. I understand both functions can return a scalar or an array - but what's with the brackets...? Is there a logic?

tia
lee



____________________________________________________________________ Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol. Probald ki most! http://www.freestart.hu _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to