in reply to Re^2: How would you do this?
in thread How would you do this?

Thanks BrowserUk The parsing works nicely...thanks. Only 1 issue how to I stop this line from spiting out the contents of the files to the terminal or it is something in my setup? It doesnt pass the data to ZCAT it just spits it out to the terminal.
open ZCAT, '|-', 'zcat *.gz' or die;
Thanks once again

Replies are listed 'Best First'.
Re^4: How would you do this?
by BrowserUk (Patriarch) on Jun 13, 2010 at 15:51 UTC

    Sorry, that should be:

    open ZCAT, '-|', 'zcat *.gz' or die;

    Interesting how you tested the parsing without knowing how to correct that?


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.
      incredible....thank you very much.