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

Re^3: Regular Expressions question

by Lotus1 (Hermit)
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 avoiding work at the Monastery: (6)
As of 2014-04-20 11:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls