Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Print all derefs and method calls in a directory (Friday golf)

by ikegami (Patriarch)
on Jan 09, 2009 at 10:20 UTC ( #735144=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # 123
    rgrep  -e'->' * | perl -ne '/(\S{3,80}->\S{5,80})/;print $1,"\n"' | pe
    +rl -pe's/^\(//' | perl -pe 's/^\+\+|^\-\-//' | sort | uniq
    
  2. or download this
    # 68
    perl -ne's/^(\(|[+-]{2})//g,say for/(\S{3,80}->\S{5,80})/' *|sort -u
    
  3. or download this
    # 67
    perl -ne's/^(\(|[+-]{2})//g,say for/\S{3,80}->\S{5,80}/g' *|sort -u
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2022-05-28 01:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (98 votes). Check out past polls.

    Notices?