nu2this has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re: Combining Statements
by Bloodnok (Vicar) on Mar 11, 2009 at 13:47 UTC
      Thanks for the format advice.

        You misspelled the opening <c> tag :P

        And you didn't even know bears could type.

Re: Combining Statements
by talexb (Chancellor) on Mar 12, 2009 at 02:16 UTC
    • Your post is unreadable -- you must have seen that when you previewed it. In future, please take more care when posting.
    • Looking at the source code of this page, I'm able to see that you start off with an eval that's missing it's first character -- if that's true, you need to take more care with the presentation of your problem.
    • Typically you will get called out if your code doesn't use strict, because if it does, and it compiles cleanly, we'll have a much better chance of a) understanding the code and b) helping you with your problem. I'm pretty sure that this code doesn't compile cleanly -- fix that issue, re-post the code, and we'll have a better chance of helping you.
    • This code appears to call a routine called outprint which I'm not familiar with (Ibu I can guess what it might do), as well as referring to variables using the ${variable} format instead of the more usual $variable format. The first format is only required when variable interpolation might not work as expected.
    • Your variable names are capitalized, which is not the preferred format -- instead of ${LPD}, consider using $lpd.
    • None of your variables are declared, either by being initialized using constants or as parameters to some unseen function. The %Env does get initialized -- perhaps that's what you thought you were accessing $ENV{XXX_TOP}.

    Alex / talexb / Toronto

    "Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds

Re: Combining Statements
by CountZero (Bishop) on Mar 11, 2009 at 17:15 UTC
    And what exactly is your problem or question? Or did you just want the world to know what you are working at? In that case, we can advise you to join Twitter.

    CountZero

    A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James