in reply to Re: eval order of args to a sub
in thread eval order of args to a sub

That's very interesting. I could never have guessed that output before this thread. The creation of anonymous values (for lack of a better term) for some expressions makes me want to do some obfuscation...

~dewey

Replies are listed 'Best First'.
Re^3: eval order of args to a sub
by ikegami (Patriarch) on May 30, 2007 at 20:22 UTC

    All scalar variables are really only references to SVs. (There's a similar relation between arrays and AVs, hashes and HVs, etc.) Sometimes Perl creates SVs to which no variable refers, and it's possible to create more than one variable that refers to the same SV.

    +------------+ references (1:1) +------------+ | Lexical or | -----------------------> | | | Package | | SV | | Scalar Var | referenced by (1:N) | | +------------+ <----------------------- +------------+

    The "anonymous values" are simply SVs.