in reply to I can't find anything

This kind of question is something that chatter is useful for. After all if you don't use it regularly, there is no way that you would ever think of something like:
foreach my $file (glob("$dir/*")) { next if -M $file < 2; # Do something with this old file }
But after you have seen it a few times, you have a much better idea what to look for.

But if you are going to use chatter, I strongly recommend trying to figure out the smallest thing that you need to know which is helpful. For instance, How do I found out how old a file is in Perl? Otherwise you will get a lot of answers that don't address your real problem. Which is frustrating all around. You don't like it because it isn't useful. Whoever is trying to help doesn't like it because their effort isn't going anywhere...

Replies are listed 'Best First'.
Re: Re: I can't find anything
by BrowserUk (Patriarch) on Nov 07, 2003 at 07:58 UTC

    I guess this depends upon whether you consider the OP's 'problem' to be that he didn't know how to find the date of a file, or that the module he found that would do what he needed to do, but couldn't install it for reasons that he wasn't able to correct.

    My own take was that as he hadn't yet discovered the filetest operators, this was a wheel that he probably shouldn't try to re-invent (yet).

    Sometimes, an open question gets a better answer than a targeted one specifically because it gathers answers from a variety of perspectives?


    Examine what is said, not who speaks.
    "Efficiency is intelligent laziness." -David Dunham
    "Think for yourself!" - Abigail
    Hooray!
    Wanted!