Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^3: Regular Expressions question

by Lotus1 (Chaplain)
on Oct 30, 2012 at 03:24 UTC ( #1001449=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @check = grep { chomp $_; $_ } <DATA>;
  2. or download this
    use warnings;
    use strict;
    
    ...
    line1
    0
    line3
    
  3. or download this
    my @check = <DATA>;
    chomp @check;
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (17)
As of 2014-10-20 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (77 votes), past polls