in reply to Re: Extracting from output file
in thread Extracting from output file

I resolved it.... LOL, just being dumb, I was referencing the a non-existing variable, of course its not going to return anything. Yea I dont use strict and warnings because I dont know how to resolve what its complaining about. Thanks again for your help. -Pao

Replies are listed 'Best First'.
Re^3: Extracting from output file
by AppleFritter (Vicar) on Aug 15, 2014 at 20:05 UTC

    Yea I dont use strict and warnings because I dont know how to resolve what its complaining about.

    Ah, that's even more of a reason to use them! If you get errors/warnings that you're not sure what they mean:

    • use diagnostics; to get explanations.
    • Check perldiag (these are the same ones that diagnostics prints, I think).
    • Use the Monastery's Super Search, and/or your favorite web search engine.
    • If you're still not sure, ask a new question on PM!

    You'll learn a lot this way, your Perl will improve, and your scripts will have fewer bugs/unpleasant surprises.

    There's also a book, TheDamian's Perl Best Practices, that may be of interest. It's a bit older by now, but it's got a lot of good advice.