in reply to Re: Did that file change?
in thread Did that file change?
Nice! Thanks!
I didn't like duping the code, but the stat(_) came as an after thought so my brain was stuck wondering how I would pass _ into the sub. Good call.
The ';' actually wasn't a typo. It came from a previous use where it made splitting the string easier (to do what I can't remember). But in all honesty I can't think of any valid reason to do it now (or ever again). Skipping the temp variables is a nice touch too.