in reply to How to remove the actual glob from a glob reference
now I have two typeglobs pointing to same address
No, you have two references pointing to the same (ie a single) typeglob. undef $a causes one of the references to the typeglob to be freed (the typeglob itsself is not yet freed, since $b still contains a reference to it).
If in addition you do undef $b, then the typeglob will be freed. But it's not clear to me what you are actually trying to achieve.
Dave.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to remove the actual glob from a glob reference
by targetsmart (Curate) on Oct 06, 2008 at 07:17 UTC | |
by dave_the_m (Monsignor) on Oct 06, 2008 at 11:44 UTC | |
by targetsmart (Curate) on Oct 06, 2008 at 13:48 UTC | |
by dave_the_m (Monsignor) on Oct 06, 2008 at 14:08 UTC | |
by targetsmart (Curate) on Jan 02, 2009 at 13:46 UTC | |
|