Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Need counter assistance

by simeon2000 (Monk)
on Aug 30, 2002 at 12:53 UTC ( [id://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?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2024-04-18 18:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found