Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Substring comparison

by johngg (Canon)
on May 01, 2012 at 21:31 UTC ( [id://968337]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while(<FILE>)
    {
            @Array1 = <FILE>;
    }
    
  2. or download this
    my @arr;
    while ( <$fh> )
    ...
        chomp;
        push @arr, $_;
    }
    
  3. or download this
    my @arr = <$fh>;
    chomp @arr;
    
  4. or download this
    chomp( my @arr = <$fh> );
    

Log In?
Username:
Password:

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

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

    No recent polls found