Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: replacing blank lines

by Fingo (Monk)
on Mar 06, 2001 at 01:49 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://62350]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-25 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found