Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^7: Split output by tabs (not clear)

by tobyink (Canon)
on Nov 13, 2012 at 10:19 UTC ( [id://1003586]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @strings = split "\t", $line;
    my @keep    = grep { length($_) >= 0 } @strings;
    
  2. or download this
    my @keep = grep { length($_) } split "\t", $line;
    
  3. or download this
    my @keep = grep length, split "\t", $line;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-03-19 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found