Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Accessing a folder whose name changes daily

by SuicideJunkie (Vicar)
on Dec 18, 2012 at 15:45 UTC ( #1009413=note: print w/replies, xml ) Need Help??


in reply to Accessing a folder whose name changes daily

You could use localtime() to predict what the folder should be called, and validate that at the same time.

Alternatively you could scan through all the directories and see if the file is anywhere, using opendir or File::Find

  • Comment on Re: Accessing a folder whose name changes daily

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1009413]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2016-12-10 17:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (164 votes). Check out past polls.