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

Re: Accessing a folder whose name changes daily

by salva (Abbot)
on Dec 18, 2012 at 15:50 UTC ( #1009415=note: print w/ replies, xml ) Need Help??


in reply to Accessing a folder whose name changes daily

glob for it:

my @candidates = < /path/root/*/filename >;


Comment on Re: Accessing a folder whose name changes daily
Download Code
Replies are listed 'Best First'.
Re^2: Accessing a folder whose name changes daily
by JennieInMI (Acolyte) on Dec 18, 2012 at 17:42 UTC

    Actually did try this and it didn't work for me. Possibly because I am running the script through a VS command prompt? Anyway, found another way to accomplish the task. Thank you though. <\p>

      then, as Jim have already stated below, try using File::Glob bsd_glob directly.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (11)
As of 2015-07-31 07:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (275 votes), past polls