Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
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 lurking in the Monastery: (9)
As of 2016-06-30 21:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (403 votes). Check out past polls.