Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^5: How to pass --MORE--

by salva (Canon)
on Feb 17, 2015 at 13:58 UTC ( [id://1116988]=note: print w/replies, xml ) Need Help??


in reply to Re^4: How to pass --MORE--
in thread How to pass --MORE--

@lines = grep is_empty($_), @lines;

Where is_empty depends of your definition of empty. For instance:

sub is_empty { my $line = shift; $line eq '' }

BTW, even if you may still be facing the same issue, this is a different question. You should open a new thread for it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (9)
As of 2024-04-23 17:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found