Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Think about Loose Coupling
 
PerlMonks  

Re: Favourite One-liners?

by tlm (Prior)
on Jun 28, 2005 at 12:54 UTC ( #470609=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    % perl -MO=Deparse,-p -e '<Perl code>'
    
  2. or download this
    -nle '}{print$.' foobar.txt
    
  3. or download this
    % perl -MO=Deparse,-p -nle '}{print$.'
    BEGIN { $/ = "\n"; $\ = "\n"; }
    ...
        print($.);
    }
    -e syntax OK
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-04-18 04:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (461 votes), past polls