in reply to Re: The number of references to a variable
in thread The number of references to a variable

I'm just curious, is the only way to make a weak reference strong, by copying it ?
$y = \($$y) ;

LuCa

Replies are listed 'Best First'.
Re^3: The number of references to a variable
by ikegami (Patriarch) on Nov 26, 2007 at 17:07 UTC
    I wouldn't call that copying. Your snippet creates a new reference. And yes, that works.