in reply to Re^2: lexicals are all the same scalar and never go out of scope?
in thread lexicals are all the same scalar and never go out of scope?
By your logic, the following never deallocates the referenced array: ...
This isn't even remotely what I said. I said the scalar (i.e. the SV, what you call TARG) is the same, and a copy of it is created when a reference to it is pushed onto the array — nothing more. That's in essence the same you pointed out in your reply.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: lexicals are all the same scalar and never go out of scope?
by ikegami (Patriarch) on Dec 06, 2011 at 10:44 UTC |
In Section
Seekers of Perl Wisdom