in reply to file date

Have you looked at lstat( $filename )?

--
RatArsed

Replies are listed 'Best First'.
Re: Re: file date
by Beatnik (Parson) on Jun 11, 2001 at 21:58 UTC
    Have you? :) lstat is a stat for symbolic links, which are not always available on platforms... stat would be cleanest, altho -X's -M would be ok too :)

    Yes, I know that if lstat is not available, a plain stat is used :)

    Greetz
    Beatnik
    ... Quidquid perl dictum sit, altum viditur.
      I blame my documentation -- it seemed suggest that stat was for filehandles and lstat was for filenames...

      --
      RatArsed

        Burn that book !!
        perldoc -f lstat is handy too (and it'll get ya the right docs, if you're using a recent perl version)

        Greetz
        Beatnik
        ... Quidquid perl dictum sit, altum viditur.