Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

divide one file into multiple arrays

by tevus_oriley (Novice)
on Jun 25, 2013 at 17:09 UTC ( [id://1040631]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open ($sites_fh, '<', $sites)or die "Can't open '$sites': $!";
    chomp(@sites = <$sites_fh>);
    ...
       }
    }
    print "@bad_log\n"; #currently returns entire $log
    
  2. or download this
    www.yahoo.com
    www.google.com
    www.comcast.com
    
  3. or download this
    X456 TV-yes DB-no 123.12.23.45 dealio3 www.google.com-------- FX-yes d
    +53 Y-03
    X123 TV-yes DB-yes 34.154.43.21 dealio1 www.ask.com-------- FX-no d01 
    +Y-03
    X412 TV-no DB-no 192.365.25.23 rayovac2 www.microsoft.com--- FX-yes d1
    +3 Y-07
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-04-19 11:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found