Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by JavaFan (Canon)
on Jan 09, 2009 at 09:44 UTC ( #735132=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      $foo ->[2];                  # Space before or after ->
      print $_->{bar};             # Only two non-space chars before ->
      $sum += $_->[0] for @array;  # Only three non-space chars after ->
    
  2. or download this
      perl -ne '/(\S{3,80}->\S{5,80})/;print $1,"\n"'
    

Log In?
Username:
Password:

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

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



    Results (98 votes). Check out past polls.

    Notices?