in reply to Getting modification time in perl not working on my MAC

Two things:
  1. filter out "." and ".."
  2. prepend the directory name:
@moviedir = map { /^\.\.?$/ ? () : "$CosMovFolder/$_" } readdir(DIR);

Replies are listed 'Best First'.
Re^2: Getting modification time in perl not working on my MAC
by Anonymous Monk on Mar 26, 2014 at 01:56 UTC
    Thanks. Prepending the directory name worked. I totally missed that. Thanks again.