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

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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Possible to call a variable before its defined in while loop?
by davido (Cardinal) on Nov 13, 2012 at 01:28 UTC

    Is this a joke, or did you forget that you already asked the question here: Possible to refer to variable defined later in script??

    My suggestion is that you follow up in that thread, clarifying what it is that you are still confused about after you've taken the time to read and study the responses you already have there.


    Dave

      ... you already asked the question ...

      Clearly, this is another monk, jaffinito43 versus jaffinito34, although, to be sure, they're both working (together?) on CSC 310 Project #4!
      (Update: And they seem to have been joined by jrp370.)

Re: Possible to call a variable before its defined in while loop?
by roboticus (Chancellor) on Nov 13, 2012 at 11:49 UTC

    jaffinito43:

    One morning, I turned on the light switch, and the light bulb burned out. Since I didn't have any light bulbs, I needed to go to the store and buy some. I couldn't find my keys in the dark, though.

    How did I solve this dilemma? Simple! I put a new bulb in the lamp, turned it on, then drove to the hardware store to buy the bulb that I just put in the lamp.

    Recently, I've been solving all my programming problems like that--When I get a new assignment, I print out the program so I can see what's in it, and then just type it in!

    </snark>

    ...roboticus

    Causality schmauzality... Meh.