Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: perl one liner print columns 2.. last

by LanX (Bishop)
on Jan 04, 2013 at 19:24 UTC ( #1011707=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    > echo - 2 - - - 6|perl -lane 'print $F[1]..$F[-1]'
    23456
    
  2. or download this
    > echo - 2 - - - 6|perl -lane 'print @F[1..$#F]'
    2---6
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1011707]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-12-17 00:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (459 votes). Check out past polls.

    Notices?