http://www.perlmonks.org?node_id=1011216


in reply to accessing an environment variable dynamically

Try System::Command, much more friendly than shifting $?

Replies are listed 'Best First'.
Re^2: accessing an environment variable dynamically
by BrowserUk (Patriarch) on Jan 02, 2013 at 07:43 UTC
    much more friendly than shifting $?

    You really find $? >> 8 so hard to type? Or understand?

    'sides which, that module doesn't work on the OPs OS.


    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    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.

      You really find $? >> 8 so hard to type? Or understand?

      Yes, its cryptic crap, its not an API

        its not an API

        No. It is a fundamental computer operation.

        Anyone who finds it difficult to understand should not be a programmer.

        Would you use a lawyer who didn't understand tort or habeas corpus?

        Or an accountant who didn't understand double entry?

        Or a doctor who didn't know about the lymphatic system?


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        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.