Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 chanting in the Monastery: (6)
As of 2014-09-21 13:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (171 votes), past polls