in reply to Listing files

Let me just give you a quick answer to help you on your way. your use of
((-M) > 01/01/02 && (-M) < 01/31/02 ))
is wrong in 2 ways. If I understand your question correctly then -M is not what you want. -M returns the Age of file in days when script started. A small example might be..
$var = -M "filename.txt";

also your comparing a number to a string with the use of > and <.
You probably want to look at perldoc -f stat to work on your problem. If your still having trouble with stat msg me and i'll give you a few hints

-bn

Replies are listed 'Best First'.
Re: Re: Listing files
by oaklander (Acolyte) on Feb 12, 2002 at 19:30 UTC
    I looked at perldoc -f stat and still cant seem to get this to work. Please advise if possible.