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

Re^2: count files in a directory

by Anonymous Monk
on Oct 10, 2011 at 11:59 UTC ( #930597=note: print w/ replies, xml ) Need Help??


in reply to Re: count files in a directory
in thread count files in a directory

It might work if you add
chdir $dir or die "Cannot chdir to '$dir': $!"; my @files = glob '*';
Comment on Re^2: count files in a directory
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2016-04-30 19:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    :nehw tseb si esrever ni gnitirW







    Results (441 votes). Check out past polls.