Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Open a folder

by choroba (Abbot)
on Jan 08, 2013 at 09:34 UTC ( #1012204=note: print w/ replies, xml ) Need Help??


in reply to Open a folder

You can achieve your goal even without "opening" the folder:

for my $file (glob 'C:/Users/ZB/Desktop/Text\ Files/*.txt') { calculate($file) }
Update: Note the slashes separate the path elements and the backslash quotes the space.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: Open a folder
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2014-12-29 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (186 votes), past polls