Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: return value of chomp is false?

by ikegami (Patriarch)
on Sep 29, 2009 at 17:57 UTC ( [id://798170]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use List::MoreUtils qw( apply );
    my $names = join '|', apply { chomp } <STDIN>;
    
  2. or download this
    use Nested::Loops qw( Filter );
    my $names = join '|', Filter { chomp } <STDIN>;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2024-03-28 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found