Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Open a folder

by choroba (Chancellor)
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.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2016-12-04 10:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (64 votes). Check out past polls.