Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Getting modification time in perl not working on my MAC

by hazylife (Monk)
on Mar 21, 2014 at 17:11 UTC ( [id://1079302]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1079302]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-28 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found