Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^4: Read bzip2 directly into array

by prescott2006 (Acolyte)
on Apr 03, 2012 at 11:05 UTC ( #963214=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Read bzip2 directly into array
in thread Read bzip2 directly into array

I would like to read each line of the text in .bz2 and pattern matching them with some keyword. But the problem with your code is the foreach loop only run once. That's why I thought want to store them in an array and use foreach to loop through all of the elements. But I don't know how to integrate the array as the output of the bzip2.


Comment on Re^4: Read bzip2 directly into array
Re^5: Read bzip2 directly into array
by Happy-the-monk (Monsignor) on Apr 03, 2012 at 12:03 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2014-09-23 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (209 votes), past polls