Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Loop Break

by RichardK (Priest)
on Jan 19, 2012 at 16:28 UTC ( #948810=note: print w/ replies, xml ) Need Help??


in reply to Loop Break

You could use glob to get the file names. Something like

for my $file (glob('*')) { #....do stuff }

But do check the help first, glob takes a file match pattern NOT a regex :)


Comment on Re: Loop Break
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-12-25 22:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

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





    Results (163 votes), past polls