in reply to Re^35: Why? (each...)
in thread Why? (each...)

And I wouldn't call it a bad meme

Unfortunately, even after being shown that it is.

more like a mental trick or reminder to help get past a mental block.

[] (array ref) vs {} (hash ref) vs neither (array or hash) is far more accurate, and it's just as simple.

Once he starts getting the assignments right things should start to become clearer

Except that getting the assignments right is the context. It's rather useless to teach him something that he'll only understand once he learns it by some other means.

Anyway, the Op can stay confused about () vs. {} in %hash= context,

You're saying people don't need to know everything right out the door. That's true, but it doesn't apply here. The truth is actually simpler that the confusing misinformation he was given.

Replies are listed 'Best First'.
Re^37: Why? (each...)
by Argel (Prior) on May 23, 2011 at 22:52 UTC
    Except that based on previous posts he should already know and understand the answer. So, when the correct answer doesn't click, then what? If someone has an irrational mental block, then what? IMO, better to get past that mental block and then return to the original problem later on. Otherwise there's a good chance you are tilting at windmills.

    Elda Taluta; Sarks Sark; Ark Arks

      So, when the correct answer doesn't click, then what?

      There's no reason to believe it didn't.

      IMO, better to get past that mental block and then return to the original problem later on.

      There's no way it's better to introduce a bug into every 10 hash initialisations.

      Anyway, this is a false dichotomy. Getting past the mental block doesn't not need to involve providing false information about parens.