Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 browsing the Monastery: (4)
As of 2014-12-20 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls