Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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?
talexb ponders

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2017-05-26 20:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?