Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Removing blank/empty lines

by marquezc329 (Scribe)
on Dec 11, 2012 at 17:37 UTC ( #1008352=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    push @Results, $_ unless ($_ eq "\n")
    
  2. or download this
    push @Results, $_ unless /^\s*$/;
    
  3. or download this
    push @Results, $_ unless /^$/;
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    }
    
    close $out2;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2016-09-25 11:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (469 votes). Check out past polls.