Arrays called in scalar context yield their length. Remember this, Monk::Anonymous ;) It'll save you lots of coding.# snip until the chdir print "Total count = ", scalar(@files), "\n\n"; print "$_\n" for @files;
--
perl -e "print qq/just another perl hacker who doesn't grok japh\n/"
simeon2000|http://holdren.net/
In reply to Re: Need counter assistance
by simeon2000
in thread Need counter assistance
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |