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

Re: replacing blank lines

by Fingo (Monk)
on Mar 06, 2001 at 01:49 UTC ( #62350=note: print w/replies, xml ) Need Help??


in reply to replacing blank lines

This might be a roundabout way of doing it:
unless (<FILE> =~ /([a-z]|[A-Z]|[0-9]/) { #delete line }


Thus Spake the Master Programmer:
"After three days without programming, life becomes meaningless."
     ---Tao of Programing

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2020-10-20 15:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (210 votes). Check out past polls.

    Notices?