Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Need counter assistance

by simeon2000 (Monk)
on Aug 30, 2002 at 12:53 UTC ( #194089=note: print w/replies, xml ) Need Help??


in reply to Need counter assistance

Code after the CHDIR like so:

# snip until the chdir print "Total count = ", scalar(@files), "\n\n"; print "$_\n" for @files;
Arrays called in scalar context yield their length. Remember this, Monk::Anonymous ;) It'll save you lots of coding.

--
perl -e "print qq/just another perl hacker who doesn't grok japh\n/"
simeon2000|http://holdren.net/

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2023-03-25 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?