in reply to Constant variables

Well, you are wrong. Variables don't lose their value upon exiting the block they get their value in (coding would be much harder if that was the case). Variables lose their value (or existance) when exiting the block they were declared (with my) or localized (with local). But that's not happening in the code you are quoting.

Abigail

Replies are listed 'Best First'.
Re: Re: Constant variables
by halley (Prior) on Apr 27, 2003 at 14:38 UTC

    "Well, you're wrong."

    Laziness, impatience and hubris may go a long way to getting the job done, but I don't think Larry was talking about interpersonal skills. Many people, especially those who are asking for help from those who have more experience, are turned off by this kind of attitude. Saintly may be your technical skills, but walkest thou friendly amongst the throng, I beseech.

    --
    [ e d @ h a l l e y . c c ]

      halley, some people simply don't know how to offer constructive criticism without sounding harsh and don't see the point in doing so. Abigail is one of those and I think will always be so. There's not much point in trying to change the leopard's spots.

      Wally Hartshorn

      (Plug: Visit JavaJunkies, PerlMonks for Java)

      Damn, did you just sign up with AOL today? You actually think saying "Well, you're wrong" when helping someone out online is mean? Abigail-II donates time to help someone out, gives a perfectly good answer in a direct fashion, and you have the nerve to suggest that's impolite? Have you ever seen an online discussion before? This is as good as it gets buddy. I wish more people were this straightforward. I can't stand wasting my time reading the sugar-coated, carefully phrased, drivel that I so often get in response to questions. I just want an answer damn it! Enclose it in <youareafreakingmoron> tags if you need to, I don't care in the slightest and I'll still thank you.

      Sheesh, I didn't know there were still any left.

        Sounds like the one who is signed up with AOL is you. There's a difference between being direct and flaming. Take a slice from Abigail's tone.

        Makeshifts last the longest.

      What's your point? That he was right? Or that we should lie? Or that we should be like sales people and sugarcoat everything?

      Come on, this isn't kindergarten. If you can't stand the heat, stay out of the kitchen. If you can't face the fact you might be wrong, don't ask questions here.

      Grow up.

      Abigail

        You make a good and fair point up to, "Grow up." At which point the force of halley's point becomes stronger. If it's really not kindergarten why resort to insults? (did not --, if it matters)
        A reply falls below the community's threshold of quality. You may see it by logging in.
        Don't be so gentle on him, Abigail.
Re: Re: Constant variables
by LordWeber (Monk) on Apr 27, 2003 at 13:22 UTC
    Re: Re: Constant variables
    by dub4u (Sexton) on Apr 27, 2003 at 13:24 UTC
      You're right, I seem to have forgotten the basics in years of useing strict; - thanks for the correction.