in reply to deref question
Meanwhile, the second case de-references the item being shifted, and so assigns the value of the scalar to $en1 -- as a result, $en1 contains a copy of the value and this copy has its own distinct location in memory, separate from the location pointed to by the reference that was shifted.
|
|---|