in reply to Re^5: strange list operator
in thread [Resolved] strange list operator

Thanks!! your replies perfectly answer my question. I can't still believe perl list assignment has the flaw/bug like this though. I will use list assignment at runtime at most.




I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction

Replies are listed 'Best First'.
Re^7: strange list operator
by MidLifeXis (Monsignor) on Oct 09, 2015 at 14:37 UTC

    "I cannot fit all of my belongings in my car, I need to rent a moving van. That is a bug with my car."

    I am not understanding why memory exhaustion would be a considered a bug or flaw.

    --MidLifeXis

      "...a bug with my car"
      karls-mac-mini:~ karl$ perl -E "my @aa = 1..20_000_000; my @bb = 1..20 +_000_000;" karls-mac-mini:~ karl$

      My prompt is back after some seconds and nothing weird happened. I guess that means i got a big car.

      Best regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

        Never underestimate the hauling capacity of a good grocery getter.

        --MidLifeXis