There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This is much better.
So although there's your array, it only contains scalar value referenced inside. I think that's not the behaviour you expected from the IO::Uncompress::Bunzip2 documentation talking about arrays. That is, all of the bunzipped data is pushed onto the array, so you can fill your array with data from several bunzipped files. Change the matching to if ($$_ =~ /good(.*)/) to make your code output the value. If you also want to break the result into a list, use split to do that. Cheers, Sören In reply to Re^3: Read bzip2 directly into array
by Happy-the-monk
|
|