Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 imbibing at the Monastery: (9)
As of 2015-08-01 14:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found
    past polls