in reply to Opening random files (with bias) based on File::Stat information.
Thanks for the help guys. blokhead, your code seems to work fine although it generates a ton of warnings about uninitialized variables in matching and substitution, but they say "at eval(1) line 1000+, <STDIN>". Could that be from the modules?
xdg, your code is very interesting, but math isn't my strong suit so it's a little over my head.
I still haven't been able to find anything about File::stat behaving differently on Windows. Has anyone heard anything about that?