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

Re^2: File Searching

by blazar (Canon)
on Sep 14, 2007 at 13:04 UTC ( [id://639001]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my %text_for = map { chomp; split /\s*\|\s*/, $_, 2 } <$iplist>;
    
  2. or download this
    while (<$iplist>) {
        chomp;
        my ($k,$v) = split /\s*\|\s*/, $_, 2;
        push @{ $text_for{$k} }, $v;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (None)
    As of 2024-04-18 23:40 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found