Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Perl Directory file extension stats.

by kcott (Abbot)
on Apr 16, 2014 at 00:47 UTC ( #1082412=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub wanted {
        return unless -f;
        /(?<!^)[.]([^.]+)$/;
        ++$stats{$File::Find::dir}{$1 || ''};
    }
    
  2. or download this
    ++$stats{$1 || ''};
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (13)
As of 2015-08-03 16:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (45 votes), past polls